1
0
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:
SteveD
2013-01-24 20:25:18 +00:00
parent 37ccac8f6d
commit 71d8853f04

View File

@@ -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]);