Commit 1c9cba5430b73c9eabb59528947e0d64bab5f4a3

Authored by Kevin Fourie
1 parent c44e49fb

KTC-635

"Ubuntu 8.04: unable to reach the upgrade server in upgrade from 3.5.3OSS to 3.5.4Commercial"
Fixed. Removed unneeded and broken writability tests.

Committed By: Kevin Fourie
Reviewed By: Megan Watson


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@9584 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 0 additions and 10 deletions
setup/upgrade.php
@@ -163,16 +163,6 @@ function performPostUpgradeActions() { @@ -163,16 +163,6 @@ function performPostUpgradeActions() {
163 163
164 } 164 }
165 165
166 -function failWritablePath($name, $path) {  
167 - if (!is_writable($path)) {  
168 - sprintf("The path for setting %s, which is set to %s, can not be written to. Correct this situation before continuing.", $name, $path);  
169 - exit(1);  
170 - }  
171 -}  
172 -  
173 -failWritablePath('Log directory', $default->logDirectory);  
174 -failWritablePath('Document directory', $default->documentRoot);  
175 -  
176 if (PEAR::isError($loggingSupport)) { 166 if (PEAR::isError($loggingSupport)) {
177 print '<p><font color="red">Logging support is not currently working. Check post-installation checkup.</font></p>'; 167 print '<p><font color="red">Logging support is not currently working. Check post-installation checkup.</font></p>';
178 exit(1); 168 exit(1);