mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-26 02:44:29 +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];
|
$_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");
|
require_once("./always.php");
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user