From 2405b41e02f4bd6a2f99e5836d9199dee447eb0f Mon Sep 17 00:00:00 2001 From: patdenice Date: Sat, 18 Feb 2012 21:18:34 +0000 Subject: feature:2577 Automaticaly install smartpocket during install or upgrade. hide mobile theme from themes list on user side. git-svn-id: http://piwigo.org/svn/trunk@13242 68402e56-0260-453c-a942-63ccdbb3a9ee --- install/config.sql | 1 + install/db/118-database.php | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 install/db/118-database.php (limited to 'install') diff --git a/install/config.sql b/install/config.sql index 10be8a188..f4e7ce7eb 100644 --- a/install/config.sql +++ b/install/config.sql @@ -73,3 +73,4 @@ INSERT INTO piwigo_config (param,value) VALUES ('original_resize','false'); INSERT INTO piwigo_config (param,value) VALUES ('original_resize_maxwidth','2016'); INSERT INTO piwigo_config (param,value) VALUES ('original_resize_maxheight','2016'); INSERT INTO piwigo_config (param,value) VALUES ('original_resize_quality','95'); +INSERT INTO piwigo_config (param,value) VALUES ('mobile_theme',null); diff --git a/install/db/118-database.php b/install/db/118-database.php new file mode 100644 index 000000000..7cd9bc504 --- /dev/null +++ b/install/db/118-database.php @@ -0,0 +1,38 @@ + \ No newline at end of file -- cgit v1.2.3