Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
19936378fc |
@ -17,6 +17,7 @@ if (!($script = dirname(@readlink($_SERVER['SCRIPT_NAME']))))
|
||||
$script = dirname($_SERVER['SCRIPT_NAME']);
|
||||
if (basename($script)=='bin')
|
||||
$script = dirname($script);
|
||||
$script = realpath($script);
|
||||
|
||||
define("APP_ROOT", $script);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user