From 06c7acda4fcc465ee5f7bd29ae47ee380535ba83 Mon Sep 17 00:00:00 2001 From: patdenice Date: Thu, 25 Mar 2010 10:27:17 +0000 Subject: Feature 1535: Add languages table. Ready for theme manager! git-svn-id: http://piwigo.org/svn/trunk@5341 68402e56-0260-453c-a942-63ccdbb3a9ee --- install/db/90-database.php | 62 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 install/db/90-database.php (limited to 'install/db/90-database.php') diff --git a/install/db/90-database.php b/install/db/90-database.php new file mode 100644 index 000000000..2daa931a1 --- /dev/null +++ b/install/db/90-database.php @@ -0,0 +1,62 @@ + $language_name) +{ + $inserts[] = array( + 'id' => $language_code, + 'name' => $language_name, + ); +} +mass_inserts(PREFIX_TABLE.'languages', array('id', 'name'), $inserts); + +echo +"\n" +. $upgrade_description +."\n" +; +?> \ No newline at end of file -- cgit v1.2.3