Exit script instead of throw an exception.

pull/3016/head
Julio 7 years ago
parent a562d1f1ed
commit 92f70a2257
  1. 3
      main/inc/global.inc.php

@ -59,7 +59,8 @@ try {
$kernel->boot();
if (!empty($append)) {
if (substr($append, 0, 1) !== '/') {
throw new Exception('APP_URL_APPEND must start with "/"');
echo 'APP_URL_APPEND must start with "/"';
exit;
}
$append = "$append/";
}

Loading…
Cancel
Save