From: <rc...@us...> - 2015-01-02 01:07:58
|
Revision: 7057 http://sourceforge.net/p/web-erp/reponame/7057 Author: rchacon Date: 2015-01-02 01:07:51 +0000 (Fri, 02 Jan 2015) Log Message: ----------- Modified Paths: -------------- trunk/SystemParameters.php trunk/sql/mysql/upgrade4.11-4.12.sql Modified: trunk/SystemParameters.php =================================================================== --- trunk/SystemParameters.php 2015-01-02 00:53:14 UTC (rev 7056) +++ trunk/SystemParameters.php 2015-01-02 01:07:51 UTC (rev 7057) @@ -117,7 +117,7 @@ if ($_SESSION['DefaultDateFormat'] != $_POST['X_DefaultDateFormat'] ) { $sql[] = "UPDATE config SET confvalue = '".$_POST['X_DefaultDateFormat']."' WHERE confname = 'DefaultDateFormat'"; } - if ($_SESSION['DefaultTheme'] != $_POST['X_DefaultTheme'] ) {// If not equal, update the default theme (login window). + if ($_SESSION['DefaultTheme'] != $_POST['X_DefaultTheme'] ) {// If not equal, update the default theme. $sql[] = "UPDATE config SET confvalue = '".$_POST['X_DefaultTheme']."' WHERE confname = 'DefaultTheme'"; // BEGIN Update config.php: $FileName = $RootPath . 'config.php'; Modified: trunk/sql/mysql/upgrade4.11-4.12.sql =================================================================== --- trunk/sql/mysql/upgrade4.11-4.12.sql 2015-01-02 00:53:14 UTC (rev 7056) +++ trunk/sql/mysql/upgrade4.11-4.12.sql 2015-01-02 01:07:51 UTC (rev 7057) @@ -144,7 +144,7 @@ -- -- Insert default theme value for login screen -- -INSERT INTO `verdoram_erp`.`config` (`confname`, `confvalue`) VALUES ('DefaultTheme', 'xenos'); +INSERT INTO `config` (`confname`, `confvalue`) VALUES ('DefaultTheme', 'xenos'); UPDATE config SET confvalue='4.12' WHERE confname='VersionNumber'; |