1
0
mirror of https://github.com/e107inc/e107.git synced 2025-06-04 09:54:56 +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 (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.
}
unset($vals[0]);