84: CMS should be active after install

https://github.com/easy-wi/developer/issues/84
This commit is contained in:
Ulrich Block 2013-10-01 20:31:10 +02:00
parent 585fcee166
commit 4f5e9d351d
2 changed files with 2 additions and 2 deletions

View File

@ -566,7 +566,7 @@ $add->execute();
$query="CREATE TABLE IF NOT EXISTS `page_settings` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`active` enum('Y','N') DEFAULT 'N',
`active` enum('Y','N') DEFAULT 'Y',
`seo` enum('Y','N') DEFAULT 'N',
`rssfeed` enum('Y','N') DEFAULT 'Y',
`rssfeed_fulltext` enum('Y','N') DEFAULT 'Y',

View File

@ -502,7 +502,7 @@ $defined['page_register_questions']=array('id'=>array("Type"=>"int(10) unsigned"
);
$defined['page_settings']=array('id'=>array("Type"=>"int(10) unsigned","Null"=>"NO","Key"=>"PRI","Default"=>"","Extra"=>"auto_increment"),
'active'=>array("Type"=>"enum('Y','N')","Null"=>"YES","Key"=>"","Default"=>"N","Extra"=>""),
'active'=>array("Type"=>"enum('Y','N')","Null"=>"YES","Key"=>"","Default"=>"Y","Extra"=>""),
'seo'=>array("Type"=>"enum('Y','N')","Null"=>"YES","Key"=>"","Default"=>"N","Extra"=>""),
'rssfeed'=>array("Type"=>"enum('Y','N')","Null"=>"YES","Key"=>"","Default"=>"Y","Extra"=>""),
'rssfeed_fulltext'=>array("Type"=>"enum('Y','N')","Null"=>"YES","Key"=>"","Default"=>"Y","Extra"=>""),