Use a full path instead of CWD set by PHP
This commit is contained in:
parent
6bb9ccb8e7
commit
0d300581ff
@ -22,7 +22,8 @@ limitations under the License.
|
|||||||
$dStartTime = microtime(true);
|
$dStartTime = microtime(true);
|
||||||
|
|
||||||
// This should be okay
|
// This should be okay
|
||||||
define("BASEPATH", "./");
|
// No but Its now, - Aim
|
||||||
|
define("BASEPATH", dirname(__FILE__) . "/");
|
||||||
|
|
||||||
// Our security check
|
// Our security check
|
||||||
define("SECURITY", 1);
|
define("SECURITY", 1);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user