mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 01:39:22 +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
|
else
|
||||||
{
|
{
|
||||||
$groups = new DOMDocument();
|
$groups = new DOMDocument();
|
||||||
|
if(!@$groups->load($file)) {
|
||||||
error('Error: Cannot load groups.xml. More info in system/logs/error.log 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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -93,7 +95,9 @@ class OTS_Groups_List implements IteratorAggregate, Countable
|
|||||||
{
|
{
|
||||||
// loads DOM document
|
// loads DOM document
|
||||||
$groups = new DOMDocument();
|
$groups = new DOMDocument();
|
||||||
|
if(!@$groups->load($file)) {
|
||||||
error('Error: Cannot load groups.xml. More info in system/logs/error.log 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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user