Skip to content
Snippets Groups Projects
Commit 647c8811 authored by llaffont's avatar llaffont
Browse files

Fix error "Only variables should be passed by reference" in cosmogramme

parent b3163c94
Branches
Tags
No related merge requests found
......@@ -33,7 +33,8 @@ while( true ){
if (chdir("../") == false) exit;
}
define('BASE_URL', '/'.end(explode('/', dirname(realpath('.')))));
$parts = explode('/', dirname(realpath('.')));
define('BASE_URL', '/'.end($parts));
define('USERFILESPATH', '..' . '/userfiles');
......
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