mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Issue #93 - make source of error clearer
This commit is contained in:
@@ -414,7 +414,7 @@ class eIPHandler
|
|||||||
if ($vals === FALSE) return $ret;
|
if ($vals === FALSE) return $ret;
|
||||||
if (substr($vals[0], 0, 5) != '<?php')
|
if (substr($vals[0], 0, 5) != '<?php')
|
||||||
{
|
{
|
||||||
echo 'Invalid message file';
|
echo 'Invalid list file';
|
||||||
die(); // Debatable, because admins can't get in if this fails. But can manually delete the file.
|
die(); // Debatable, because admins can't get in if this fails. But can manually delete the file.
|
||||||
}
|
}
|
||||||
unset($vals[0]);
|
unset($vals[0]);
|
||||||
|
Reference in New Issue
Block a user