Commit 367c84c9e1b8b1a6f95f6318571ea07f67d9f5c5
1 parent
2be186b0
KTS-2799
"3.5.2 beta 2 upgrade error" Fixed. Updated paths in config.ini. Added plugins_helper cleanout during upgrade. Added CustomError section to config.ini. Committed By: Kevin Fourie Reviewed By: Jonathan Byrne git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7959 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
3 changed files
with
9 additions
and
2 deletions
lib/upgrades/UpgradeFunctions.inc.php
| @@ -1068,6 +1068,11 @@ class UpgradeFunctions { | @@ -1068,6 +1068,11 @@ class UpgradeFunctions { | ||
| 1068 | $ini->addItem('DiskUsage', 'warningThreshold', '10', "When free space in a mount point is less than this percentage,\r\n; the disk usage dashlet will highlight the mount in ORANGE", "settings for the Disk Usage dashlet"); | 1068 | $ini->addItem('DiskUsage', 'warningThreshold', '10', "When free space in a mount point is less than this percentage,\r\n; the disk usage dashlet will highlight the mount in ORANGE", "settings for the Disk Usage dashlet"); |
| 1069 | $ini->addItem('DiskUsage', 'urgentThreshold', '5', "When free space in a mount point is less than this percentage,\r\n; the disk usage dashlet will highlight the mount in RED"); | 1069 | $ini->addItem('DiskUsage', 'urgentThreshold', '5', "When free space in a mount point is less than this percentage,\r\n; the disk usage dashlet will highlight the mount in RED"); |
| 1070 | 1070 | ||
| 1071 | + // CustomErrorMessages Section | ||
| 1072 | + $ini->addItem('CustomErrorMessages', 'customerrormessages', 'on', 'Turn custom error messages on or off here (account wide)'); | ||
| 1073 | + $ini->addItem('CustomErrorMessages', 'customerrorpagepath', 'customerrorpage.php', 'Name or url of custom error page'); | ||
| 1074 | + $ini->addItem('CustomErrorMessages', 'customerrorhandler', 'on', 'Turn custom error handler on or off'); | ||
| 1075 | + | ||
| 1071 | $ini->write(); | 1076 | $ini->write(); |
| 1072 | } | 1077 | } |
| 1073 | } | 1078 | } |
sql/mysql/install/data.sql
No preview for this file type
sql/mysql/upgrade/3.5.2/clean_plugin_helper.sql
0 → 100644
| 1 | +DELETE * FROM plugin_helper; |