grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026. -------------------------------------------------------------------------- */ /** @file * @brief */ // Ensure current directory when run from crontab chdir(dirname($_SERVER["SCRIPT_FILENAME"])); if (isset($_SERVER['argv'])) { for ($i=1 ; $i<$_SERVER['argc'] ; $i++) { $it = explode("=", $_SERVER['argv'][$i], 2); $it[0] = preg_replace('/^--/','',$it[0]); $_GET[$it[0]] = (isset($it[1]) ? $it[1] : true); } } if ((isset($_SERVER['argv']) && in_array('help', $_SERVER['argv'])) || isset($_GET['help'])) { echo "Usage: php -q -f ldap_mass_sync.php [action=