6 lines
767 B
PHP
6 lines
767 B
PHP
|
<?php
|
||
|
$db->free_sql('CREATE TABLE IF NOT EXISTS `settings` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `mod` TEXT, `json` TEXT);');
|
||
|
$sql='INSERT INTO `settings` (`id`,`mod`,`json`) VALUES ('1','global','{"default_mod":"main","default_mod_auth":"main","logo":"","main_page":"1","show_h1":"1","site_name":"Y-CMS","show_news_main_page":"0","show_slider":"0","cat_alias_news":"","news_limit":"10","editor":"","capcha_auth":"","lazyload":"1","show_description_in_cat":"1","cachePage":"1800","email":"","typepage":"2","otzyv":"1","like_page":"1","sezon_img":"1","autoseo":"0","templ":"","h1_page":"1","last_blogs":"","yawebmaster":"","yametrika":"","link_vk":"","link_fb":"","link_instagramm":"","gen_keywords":"","check_https":"1"}');';
|
||
|
$db->free_sql($sql);
|
||
|
|
||
|
?>
|