removing smarty - part X

readded spell/spells
- changes to Lang, since it can no longer access the template
- set required php-version to 5.5.0 (generators were added and are essential to aowow)
- display stats in footer to staff only
This commit is contained in:
Sarjuuk 2014-07-02 00:21:25 +02:00
parent 775b12d64c
commit ec5589f323
17 changed files with 2601 additions and 2487 deletions

View file

@ -12,10 +12,10 @@ if (!file_exists('config/config.php'))
// include all necessities, set up basics
require 'includes/kernel.php';
if (version_compare(PHP_VERSION, '5.4.0') <= 0)
if (version_compare(PHP_VERSION, '5.5.0') <= 0)
{
if (User::isInGroup(U_GROUP_EMPLOYEE))
Util::addNote(U_GROUP_EMPLOYEE, 'PHP Version 5.4.0 or higher required! Your version is '.PHP_VERSION."[br]Core functions are unavailable!");
Util::addNote(U_GROUP_EMPLOYEE, 'PHP Version 5.5.0 or higher required! Your version is '.PHP_VERSION."[br]Core functions are unavailable!");
else
(new GenericPage)->maintenance();
}