Commits

Arie W. Subagja committed 53441cc

Wrong statement updated!

  • Participants
  • Parent commits 9429016

Comments (0)

Files changed (2)

+/nbproject/
 ## ZEND FRAMEWORK
 $zf_found = false;
 
-// include_path?
+// include_path? (maybe already installed via PEAR)
 foreach (explode(PATH_SEPARATOR, get_include_path()) as $path)
 {
     if ( file_exists("{$path}/Zend/Loader/Autoloader.php") )
 // add manually
 if (! $zf_found)
 {
-    if ($path = Kohana::find_file('vendor', 'Zend/Loader'))
+    if (($path = Kohana::find_file('vendor', 'Zend/Loader')) !== FALSE)
     {
         set_include_path(get_include_path() . PATH_SEPARATOR . dirname(dirname($path)));
     }