Allow running from the root

This commit is contained in:
Andrew Ruthven committed 2024-02-17 02:25:25 +00:00
1 parent 995fe296c4
commit 820d0992eb
1 file changed
+1 -1
+1 -1
View File
@@ -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");