[SCRIPTS] Make them work in v2 by setting PUBLICDIR
This commit is contained in:
@@ -20,7 +20,8 @@
|
||||
|
||||
// Abort if called from a web server
|
||||
|
||||
define('INSTALLDIR', realpath(dirname(__FILE__) . '/..'));
|
||||
define('INSTALLDIR', dirname(__DIR__));
|
||||
define('PUBLICDIR', INSTALLDIR . DIRECTORY_SEPARATOR . 'public');
|
||||
|
||||
$helptext = <<<ENDOFHELP
|
||||
console.php - provide an interactive PHP interpreter for testing
|
||||
|
Reference in New Issue
Block a user