Improvements and typos
This commit is contained in:
parent
3bdbc74b0e
commit
5b27274fa7
13 changed files with 78 additions and 75 deletions
|
@ -36,7 +36,7 @@ class module_text extends admin_module{
|
|||
KEY `eid` (`eid`)
|
||||
) ENGINE=MyISAM");
|
||||
|
||||
$db->query("CREATE TABLE IF NOT EXISTS `" . $config["prefix"] . "article_categorys` (
|
||||
$db->query("CREATE TABLE IF NOT EXISTS `" . $config["prefix"] . "article_categories` (
|
||||
`id` int(11) NOT NULL auto_increment,
|
||||
`categoryname` varchar(80) NOT NULL default '',
|
||||
`picture` varchar(80) NOT NULL default '',
|
||||
|
@ -68,7 +68,7 @@ class module_text extends admin_module{
|
|||
function uninstall(){
|
||||
global $config, $db;
|
||||
$db->query("DROP TABLE `" . $config["prefix"] . "article`");
|
||||
$db->query("DROP TABLE `" . $config["prefix"] . "article_categorys`");
|
||||
$db->query("DROP TABLE `" . $config["prefix"] . "article_categories`");
|
||||
$db->query("DROP TABLE `" . $config["prefix"] . "article_category`");
|
||||
$db->query("DROP TABLE `" . $config["prefix"] . "article_menue`");
|
||||
@$this->recursive($_SERVER["DOCUMENT_ROOT"]."/catimages");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue