1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Extra warnings/alerts added for possible upgrade issues.

This commit is contained in:
Cameron
2016-12-01 11:20:56 -08:00
parent ab26e0cb13
commit 59e97ba8dc
3 changed files with 39 additions and 3 deletions

View File

@@ -56,6 +56,12 @@ if(isset($_E107['cli']) && !isset($_E107['debug']) && isset($_SERVER["HTTP_USER_
exit();
}
if(function_exists('utf8_encode') === false)
{
echo "e107 requires the PHP <a href='http://php.net/manual/en/book.xml.php'>XML parser</a> package. Please install it to use e107. ";
exit();
}
if(!isset($_E107['cli']))
{
while (@ob_end_clean()); // destroy all ouput buffering