diff options
Diffstat (limited to '')
-rw-r--r-- | install.php | 4 | ||||
-rw-r--r-- | install/config.sql | 2 | ||||
-rw-r--r-- | install/phpwebgallery_structure.sql | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/install.php b/install.php index 3a7a69ec3..e2c2f5eca 100644 --- a/install.php +++ b/install.php @@ -155,8 +155,6 @@ if( !get_magic_quotes_gpc() ) } //----------------------------------------------------- variable initialization -$install_style = 'default'; - // Obtain various vars $dbhost = (!empty($_POST['dbhost'])) ? $_POST['dbhost'] : 'localhost'; $dbuser = (!empty($_POST['dbuser'])) ? $_POST['dbuser'] : ''; @@ -209,7 +207,7 @@ include( './language/'.$language.'/common.lang.php' ); include( './language/'.$language.'/admin.lang.php' ); include( './language/'.$language.'/install.lang.php' ); //----------------------------------------------------- template initialization -$template=setup_style($install_style); +$template=setup_style('yoga'); $template->set_filenames( array('install'=>'install.tpl') ); $step = 1; //---------------------------------------------------------------- form analyze diff --git a/install/config.sql b/install/config.sql index fa27ce1e3..41d109dae 100644 --- a/install/config.sql +++ b/install/config.sql @@ -1,7 +1,7 @@ -- initial configuration for PhpWebGallery INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('default_language','en_UK.iso-8859-1','Default gallery language'); -INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('default_template','default','Default gallery style'); +INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('default_template','yoga','Default gallery style'); INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('default_maxwidth','','maximum width authorized for displaying images'); INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('default_maxheight','','maximum height authorized for the displaying images'); INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('nb_comment_page','10','number of comments to display on each page'); diff --git a/install/phpwebgallery_structure.sql b/install/phpwebgallery_structure.sql index 5d0bac12a..7662746fd 100644 --- a/install/phpwebgallery_structure.sql +++ b/install/phpwebgallery_structure.sql @@ -262,7 +262,7 @@ CREATE TABLE `phpwebgallery_user_infos` ( `expand` enum('true','false') NOT NULL default 'false', `show_nb_comments` enum('true','false') NOT NULL default 'false', `recent_period` tinyint(3) unsigned NOT NULL default '7', - `template` varchar(255) NOT NULL default 'default', + `template` varchar(255) NOT NULL default 'yoga', `registration_date` datetime NOT NULL default '0000-00-00 00:00:00', UNIQUE KEY `user_infos_ui1` (`user_id`) ) TYPE=MyISAM; |