]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-17091 Added zend framework to include_path
authornicolasconnault <nicolasconnault>
Fri, 31 Oct 2008 15:34:23 +0000 (15:34 +0000)
committernicolasconnault <nicolasconnault>
Fri, 31 Oct 2008 15:34:23 +0000 (15:34 +0000)
lib/setup.php

index 7fe9f98d903ccd82d80ac7c7ae2a9e2d8188efe8..73e387a81a68fda98949c7366f0bff304c2dc994 100644 (file)
@@ -139,6 +139,8 @@ global $HTTPSPAGEREQUIRED;
     //point pear include path to moodles lib/pear so that includes and requires will search there for files before anywhere else
     //the problem is that we need specific version of quickforms and hacked excel files :-(
     ini_set('include_path', $CFG->libdir.'/pear' . PATH_SEPARATOR . ini_get('include_path'));
+    //point zend include path to moodles lib/zend so that includes and requires will search there for files before anywhere else
+    ini_set('include_path', $CFG->libdir.'/zend' . PATH_SEPARATOR . ini_get('include_path'));
 
 /// set handler for uncought exceptions - equivalent to print_error() call
     set_exception_handler('default_exception_handler');