mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
This info is useless
This commit is contained in:
parent
48874f5b07
commit
1992410a7b
@ -61,8 +61,8 @@ class OTS_MonstersList implements Iterator, Countable, ArrayAccess
|
|||||||
|
|
||||||
// check if monsters.xml exist
|
// check if monsters.xml exist
|
||||||
if(!@file_exists($this->monstersPath . 'monsters.xml')) {
|
if(!@file_exists($this->monstersPath . 'monsters.xml')) {
|
||||||
log_append('error.log', '[OTS_MonstersList.php] Fatal error: Cannot load monsters.xml. File does not exist. (' . $this->monstersPath . 'monsters.xml' . '). Error: ' . print_r(error_get_last(), true));
|
log_append('error.log', '[OTS_MonstersList.php] Fatal error: Cannot load monsters.xml. File does not exist. (' . $this->monstersPath . 'monsters.xml' . ').');
|
||||||
throw new Exception('Error: Cannot load monsters.xml. File not found. More info in system/logs/error.log file.');
|
throw new Exception('Error: Cannot load monsters.xml. File not found.');
|
||||||
}
|
}
|
||||||
|
|
||||||
// loads monsters mapping file
|
// loads monsters mapping file
|
||||||
|
@ -95,8 +95,8 @@ class OTS_SpellsList implements IteratorAggregate, Countable
|
|||||||
{
|
{
|
||||||
// check if spells.xml exist
|
// check if spells.xml exist
|
||||||
if(!@file_exists($file)) {
|
if(!@file_exists($file)) {
|
||||||
log_append('error.log', '[OTS_SpellsList.php] Fatal error: Cannot load spells.xml. File does not exist. (' . $file . '). Error: ' . print_r(error_get_last(), true));
|
log_append('error.log', '[OTS_SpellsList.php] Fatal error: Cannot load spells.xml. File does not exist. (' . $file . ').');
|
||||||
throw new Exception('Error: Cannot load spells.xml. File not found. More info in system/logs/error.log file.');
|
throw new Exception('Error: Cannot load spells.xml. File not found.');
|
||||||
}
|
}
|
||||||
|
|
||||||
// loads monsters mapping file
|
// loads monsters mapping file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user