mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
RuntimeException instead of die()
This commit is contained in:
@@ -241,7 +241,7 @@ class Items_Images
|
||||
self::$spr = fopen(self::$files['spr'], 'rb');
|
||||
|
||||
if(!self::$otb || !self::$dat || !self::$spr)
|
||||
die('ERROR: Cannot load data files.');
|
||||
throw new RuntimeException('ERROR: Cannot load data files.');
|
||||
/*
|
||||
if ( $nostand )
|
||||
{
|
||||
|
Reference in New Issue
Block a user