mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
* and this
This commit is contained in:
parent
3a6a1c448a
commit
b0f8013762
@ -69,7 +69,9 @@ class OTS_Groups_List implements IteratorAggregate, Countable
|
||||
else
|
||||
{
|
||||
$groups = new DOMDocument();
|
||||
if(!@$groups->load($file)) {
|
||||
error('Error: Cannot load groups.xml. More info in system/logs/error.log file.');
|
||||
log_append('error.log', '[OTS_Groups_List.php] Fatal error: Cannot load groups.xml (' . $file . '). Error: ' . print_r(error_get_last(), true));
|
||||
return;
|
||||
}
|
||||
|
||||
@ -93,7 +95,9 @@ class OTS_Groups_List implements IteratorAggregate, Countable
|
||||
{
|
||||
// loads DOM document
|
||||
$groups = new DOMDocument();
|
||||
if(!@$groups->load($file)) {
|
||||
error('Error: Cannot load groups.xml. More info in system/logs/error.log file.');
|
||||
log_append('error.log', '[OTS_Groups_List.php] Fatal error: Cannot load groups.xml (' . $file . '). Error: ' . print_r(error_get_last(), true));
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user