Commit 4939c3936d36e3c937caddc57b0df2fc4e2f950c
1 parent
09f70cc6
Merged in from DEV trunk...
KTS-3312 "config.ini file is possibly corrupted after upgrade" Fixed. Removed active code but left upgade in so as not to mess with the upgrades table. Committed By: Kevin Fourie Reviewed By: Jonathan Byrne git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/branches/3.5.2c-Release-Branch@8395 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
8 additions
and
1 deletions
lib/upgrades/UpgradeFunctions.inc.php
| ... | ... | @@ -1024,7 +1024,13 @@ class UpgradeFunctions { |
| 1024 | 1024 | // {{{ updateConfigFile35 |
| 1025 | 1025 | function updateConfigFile35() |
| 1026 | 1026 | { |
| 1027 | - $config = KTConfig::getSingleton(); | |
| 1027 | + // The following is no longer needed due to defaults now being in place. | |
| 1028 | + // It also was corrupting the file "sometimes". | |
| 1029 | + // We leave the function in but do nothing so we don't mess with the upgrades table. | |
| 1030 | + | |
| 1031 | + return; | |
| 1032 | + | |
| 1033 | +/* $config = KTConfig::getSingleton(); | |
| 1028 | 1034 | $configPath = KTConfig::getConfigFilename(); |
| 1029 | 1035 | $configPath = str_replace(array("\n","\r"), array('',''), $configPath); |
| 1030 | 1036 | |
| ... | ... | @@ -1147,6 +1153,7 @@ class UpgradeFunctions { |
| 1147 | 1153 | |
| 1148 | 1154 | $ini->write(); |
| 1149 | 1155 | } |
| 1156 | +*/ | |
| 1150 | 1157 | } |
| 1151 | 1158 | // }}} |
| 1152 | 1159 | ... | ... |