mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-01-27 00:33:34 +00:00
Allow running from the root
This commit is contained in:
parent
995fe296c4
commit
820d0992eb
@ -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");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user