mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 09:44:55 +02:00
* updated tinymce to the latest (4.7.0) version
* added option to uninstall plugin * added option to require specified myaac or php version for plugins * added links loaded from database to admin panel - for future plugins * added few characters hooks * fixed some kathrine template js bug when shop is disabled
This commit is contained in:
17
system/migrations/10.php
Normal file
17
system/migrations/10.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
if(!fieldExist('ordering', TABLE_PREFIX . 'hooks'))
|
||||
$db->query("ALTER TABLE `" . TABLE_PREFIX . "hooks` ADD `ordering` INT(11) NOT NULL DEFAULT 0 AFTER `file`;");
|
||||
|
||||
if(!tableExist(TABLE_PREFIX . 'admin_menu'))
|
||||
$db->query("
|
||||
CREATE TABLE `myaac_admin_menu`
|
||||
(
|
||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||
`name` VARCHAR(255) NOT NULL DEFAULT '',
|
||||
`page` VARCHAR(255) NOT NULL DEFAULT '',
|
||||
`ordering` INT(11) NOT NULL DEFAULT 0,
|
||||
`flags` INT(11) NOT NULL DEFAULT 0,
|
||||
`enabled` INT(1) NOT NULL DEFAULT 1,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE = MyISAM;");
|
||||
?>
|
Reference in New Issue
Block a user