mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
* fixed Twig loading on case-sensitive systems
This commit is contained in:
parent
6e6ce55a7b
commit
d88de8e072
@ -27,7 +27,7 @@ require_once(SYSTEM . 'libs/cache.php');
|
|||||||
$cache = Cache::getInstance($config['cache_engine'], $config['cache_prefix']);
|
$cache = Cache::getInstance($config['cache_engine'], $config['cache_prefix']);
|
||||||
|
|
||||||
// twig
|
// twig
|
||||||
require_once LIBS . 'twig/Autoloader.php';
|
require_once LIBS . 'Twig/Autoloader.php';
|
||||||
Twig_Autoloader::register();
|
Twig_Autoloader::register();
|
||||||
|
|
||||||
$loader = new Twig_Loader_Filesystem(SYSTEM . 'templates');
|
$loader = new Twig_Loader_Filesystem(SYSTEM . 'templates');
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
$db->query("ALTER TABLE `" . TABLE_PREFIX . "monsters` ADD `id` int(11) NOT NULL AUTO_INCREMENT primary key FIRST;");
|
if(!fieldExist('id', TABLE_PREFIX . 'monsters'))
|
||||||
|
$db->query("ALTER TABLE `" . TABLE_PREFIX . "monsters` ADD `id` int(11) NOT NULL AUTO_INCREMENT primary key FIRST;");
|
||||||
?>
|
?>
|
@ -1,3 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
$db->query("ALTER TABLE `" . TABLE_PREFIX . "hooks` ADD `enabled` INT(1) NOT NULL DEFAULT 1;");
|
if(!fieldExist('enabled', TABLE_PREFIX . 'hooks'))
|
||||||
|
$db->query("ALTER TABLE `" . TABLE_PREFIX . "hooks` ADD `enabled` INT(1) NOT NULL DEFAULT 1;");
|
||||||
?>
|
?>
|
Loading…
x
Reference in New Issue
Block a user