diff --git a/scripts/cron-sync-ldap.php b/scripts/cron-sync-ldap.php index 32bf42d9..935168ee 100755 --- a/scripts/cron-sync-ldap.php +++ b/scripts/cron-sync-ldap.php @@ -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");