[pLog-svn] r896 - plog/trunk

oscar at devel.plogworld.net oscar at devel.plogworld.net
Mon Jan 31 13:04:49 GMT 2005


Author: oscar
Date: 2005-01-31 13:04:49 +0000 (Mon, 31 Jan 2005)
New Revision: 896

Modified:
   plog/trunk/wizard.php
Log:
the list of default locales is now empty and we will use LocaleFinder to detect which locales can be found in the locales/ folder. It is a much more reliable method than updating the sql query every time!


Modified: plog/trunk/wizard.php
===================================================================
--- plog/trunk/wizard.php	2005-01-31 13:02:39 UTC (rev 895)
+++ plog/trunk/wizard.php	2005-01-31 13:04:49 UTC (rev 896)
@@ -543,7 +543,7 @@
 $Inserts[24] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('summary_page_show_max','15',1);";
 $Inserts[25] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('minimum_password_length','4',1);";
 $Inserts[26] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('templates','a:3:{i:0;s:7:\"blueish\";i:1;s:4:\"grey\";i:2;s:8:\"standard\";}',5);";
-$Inserts[27] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('locales','a:8:{i:0;s:5:\"en_UK\";i:1;s:5:\"es_ES\";i:2;s:5:\"ja_JP\";i:3;s:5:\"nl_BE\";i:4;s:5:\"zh_CN\";i:5;s:5:\"zh_TW\";i:6;s:5:\"ca_ES\";i:7;s:5:\"fr_FR\";}',5)";
+$Inserts[27] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('locales','a:0:{}',5)";
 $Inserts[28] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('email_service_type','php',3);";
 $Inserts[29] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('smtp_host','your.smtp.host.com',3);";
 $Inserts[30] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('smtp_port','25',1);";




More information about the pLog-svn mailing list