summaryrefslogtreecommitdiff
path: root/includes/session.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/session.php')
-rwxr-xr-xincludes/session.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/includes/session.php b/includes/session.php
index 026ff9332d..70cfd5be6e 100755
--- a/includes/session.php
+++ b/includes/session.php
@@ -145,9 +145,12 @@ if (version_compare(PHP_VERSION, '5.4', '<') && get_magic_quotes_gpc()) {
}
// Invoke the Zend Framework Autoloader, so we can use Zend_XXXXX and WT_XXXXX classes
-set_include_path(WT_ROOT.'library'.PATH_SEPARATOR.get_include_path());
+set_include_path(WT_ROOT . 'library' . PATH_SEPARATOR . get_include_path());
require_once 'Zend/Loader/Autoloader.php';
-Zend_Loader_Autoloader::getInstance()->registerNamespace('WT_');
+Zend_Loader_Autoloader::getInstance()
+ ->registerNamespace('WT_')
+ ->registerNamespace('HTMLPurifier_')
+ ->registerNamespace('Michelf\\');
// PHP requires a time zone to be set in php.ini
if (!ini_get('date.timezone')) {