mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
item another one >.<
This commit is contained in:
@@ -14,21 +14,21 @@ error_reporting($e);
|
||||
|
||||
define('STATIC_URL', substr('http://'.$_SERVER['SERVER_NAME'].strtr($_SERVER['SCRIPT_NAME'], ['index.php' => '']), 0, -1));
|
||||
|
||||
require 'includes/Smarty-2.6.26/libs/Smarty.class.php'; // Libraray: http://www.smarty.net/
|
||||
// require 'includes/Smarty-3.1.14/libs/Smarty.class.php'; // Libraray: http://www.smarty.net/
|
||||
require 'includes/DbSimple/Generic.php'; // Libraray: http://en.dklab.ru/lib/DbSimple (mysqli: https://bitbucket.org/brainreaver/dbsimple/src)
|
||||
require 'includes/libs/Smarty-2.6.26/libs/Smarty.class.php';// Libraray: http://www.smarty.net/
|
||||
// require 'includes/libs/Smarty-3.1.14/libs/Smarty.class.php'; // Libraray: http://www.smarty.net/
|
||||
require 'includes/libs/DbSimple/Generic.php'; // Libraray: http://en.dklab.ru/lib/DbSimple (using mysqli variant: https://bitbucket.org/brainreaver/dbsimple/src)
|
||||
require 'includes/utilities.php';
|
||||
require 'includes/class.user.php';
|
||||
require 'includes/class.database.php';
|
||||
require 'includes/user.class.php';
|
||||
require 'includes/database.class.php';
|
||||
|
||||
// autoload List-Classes and Associated Filters
|
||||
spl_autoload_register(function ($class) {
|
||||
if (strpos($class, 'List') && !class_exists($class))
|
||||
{
|
||||
if (!class_exists('BaseType'))
|
||||
require 'includes/class.basetype.php';
|
||||
require 'includes/types/basetype.class.php';
|
||||
|
||||
require 'includes/class.'.strtr($class, ['List' => '']).'.php';
|
||||
require 'includes/types/'.strtr($class, ['List' => '']).'.class.php';
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user