mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
It is quite common that the PHP interpreter that is launched in CLI is different that the one used by the webserver. So iTop code launched by CLI could run in a context that doesn't meet iTop requirements ! This adds in the following scripts the same control that is done on the setup wizard first step : * cron.php * backup, check-backup * export, exportv2 * bulk import * synchro-exec, synchro-import If the check throws at least one error then the script is stopped with an appropriate message, and a log is made (IssueLog, Error level, CLI channel)