Fatal->Error since Fatal is fatal

This commit is contained in:
Isaac Connor 2015-02-19 15:57:37 -05:00
parent 8eb8cacd56
commit b159f6ce9e
1 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ else
$skins = array_map( 'basename', glob('skins/*',GLOB_ONLYDIR) );
if ( ! in_array( $skin, $skins ) ) {
Fatal( "Invalid skin '$skin'" );
Error( "Invalid skin '$skin'" );
$skin = 'classic';
}
@ -85,7 +85,7 @@ else
$css_skins = array_map( 'basename', glob('skins/'.$skin.'/css/*',GLOB_ONLYDIR) );
if ( ! in_array( $css, $css_skins ) ) {
Fatal( "Invalid skin css '$css'" );
Error( "Invalid skin css '$css'" );
$css = 'classic';
}