correcciones incidencias veracode
This commit is contained in:
@@ -140,6 +140,11 @@ if (! defined ('SYS_SYS')) {
|
|||||||
|
|
||||||
date_default_timezone_set (TIME_ZONE);
|
date_default_timezone_set (TIME_ZONE);
|
||||||
|
|
||||||
|
// ****************************************
|
||||||
|
|
||||||
|
include_once (PATH_HOME . 'engine' . PATH_SEP . 'config' . PATH_SEP . 'paths_installed.php');
|
||||||
|
include_once (PATH_HOME . 'engine' . PATH_SEP . 'config' . PATH_SEP . 'paths.php');
|
||||||
|
|
||||||
G::LoadSystem('inputfilter');
|
G::LoadSystem('inputfilter');
|
||||||
$filter = new InputFilter();
|
$filter = new InputFilter();
|
||||||
$TIME_ZONE = $filter->xssFilterHard(TIME_ZONE);
|
$TIME_ZONE = $filter->xssFilterHard(TIME_ZONE);
|
||||||
@@ -149,10 +154,6 @@ if (! defined ('SYS_SYS')) {
|
|||||||
print "TIME_ZONE: " . $TIME_ZONE . "\n";
|
print "TIME_ZONE: " . $TIME_ZONE . "\n";
|
||||||
print "MEMCACHED_ENABLED: " . $MEMCACHED_ENABLED . "\n";
|
print "MEMCACHED_ENABLED: " . $MEMCACHED_ENABLED . "\n";
|
||||||
print "MEMCACHED_SERVER: " . $MEMCACHED_SERVER . "\n";
|
print "MEMCACHED_SERVER: " . $MEMCACHED_SERVER . "\n";
|
||||||
// ****************************************
|
|
||||||
|
|
||||||
include_once (PATH_HOME . 'engine' . PATH_SEP . 'config' . PATH_SEP . 'paths_installed.php');
|
|
||||||
include_once (PATH_HOME . 'engine' . PATH_SEP . 'config' . PATH_SEP . 'paths.php');
|
|
||||||
|
|
||||||
// ***************** PM Paths DATA **************************
|
// ***************** PM Paths DATA **************************
|
||||||
define ('PATH_DATA_SITE', PATH_DATA . 'sites/' . SYS_SYS . '/');
|
define ('PATH_DATA_SITE', PATH_DATA . 'sites/' . SYS_SYS . '/');
|
||||||
|
|||||||
Reference in New Issue
Block a user