namespace escape Error calls

This commit is contained in:
Isaac Connor 2019-04-29 12:51:02 -04:00
parent 847d4c5e80
commit 940338ea12
1 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ if ( isset($_GET['skin']) ) {
$skins = array_map('basename', glob('skins/*', GLOB_ONLYDIR));
if ( ! in_array($skin, $skins) ) {
Error("Invalid skin '$skin' setting to " . $skins[0]);
ZM\Error("Invalid skin '$skin' setting to " . $skins[0]);
$skin = $skins[0];
}
@ -109,7 +109,7 @@ if ( isset($_GET['css']) ) {
$css_skins = array_map('basename', glob('skins/'.$skin.'/css/*',GLOB_ONLYDIR));
if ( !in_array($css, $css_skins) ) {
Error("Invalid skin css '$css' setting to " . $css_skins[0]);
ZM\Error("Invalid skin css '$css' setting to " . $css_skins[0]);
$css = $css_skins[0];
}