mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
Allow running from the root
This commit is contained in:
1 parent
995fe296c4
commit
820d0992eb
1 file changed
+1
-1
@@ -26,7 +26,7 @@ USAGE;
|
||||
|
||||
$_SERVER['SERVER_NAME'] = $argv[1];
|
||||
|
||||
chdir(str_replace('/scripts/cron-sync-ldap.php','/htdocs',$script_file));
|
||||
chdir(str_replace('scripts/cron-sync-ldap.php', 'htdocs', $script_file));
|
||||
|
||||
require_once("./always.php");
|
||||
|
||||
|
||||
Reference in new issue
Block a user