From: Petr Skoda Date: Sat, 31 Oct 2009 22:37:16 +0000 (+0000) Subject: MDL-20696 noting zend libs are incomplete and are not guaranteed to be there in future X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6e03bed71bf48bae9b826361c6c63da2d280abed;p=moodle.git MDL-20696 noting zend libs are incomplete and are not guaranteed to be there in future --- diff --git a/lib/setup.php b/lib/setup.php index 8fbde7f3f3..ba160a65db 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -266,6 +266,7 @@ require_once($CFG->libdir .'/editorlib.php'); // All text editor related f //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 +//please note zend library is supposed to be used only from web service protocol classes, it may be removed in future ini_set('include_path', $CFG->libdir.'/zend' . PATH_SEPARATOR . ini_get('include_path')); // make sure PHP is not severly misconfigured