blob: e0dcf707c701e57be3b2a1a126b61902a0363db9 (
plain) (
tree)
|
|
<?php
// via cron:
// @reboot www-data php /path/to/api.php init
if (!isLocalExecution())
exit(0);
if (($report = Request::get('crashreport', false, 'string')) !== false) {
$details = file_get_contents($report);
EventLog::failure('Problems during bootup hook', $details);
exit(0);
}
Event::systemBooted();
|