Commit 0a4e1e0f authored by mmn's avatar mmn

Revert "Don't add redundant includedir INSTALLDIR.'/extlib/'"

This reverts commit 31d80697.

I didn't notice any errors because I had php-pear installed. :]
parent 44d292b3
......@@ -36,7 +36,13 @@ ini_set("max_input_time", "0");
require_once INSTALLDIR . '/extlib/Console/Getopt.php';
// Add extlib to our path so we can get Console_Getopt
$_extra_path = array(INSTALLDIR.'/extlib/');
set_include_path(implode(PATH_SEPARATOR, $_extra_path) . PATH_SEPARATOR . get_include_path());
require_once 'Console/Getopt.php';
// Note: $shortoptions and $longoptions should be pre-defined!
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment