1
0

Fix installer path detection by wagwag

This commit is contained in:
Garvin Hicking
2006-12-11 08:37:10 +00:00
parent f42a99e694
commit 4f3bc51427
2 changed files with 9 additions and 3 deletions

View File

@ -3,6 +3,9 @@
Version 1.2 ()
------------------------------------------------------------------------
* Improved Spartacus' detection of firewalling/network connection
issues (judebert)
* Introduce '%lowertitle%' permalink attribute to use lowercase
permalinks. (garvinhicking)
@ -12,6 +15,9 @@ Version 1.2 ()
Version 1.1 ()
------------------------------------------------------------------------
* Fix better installer warning messages when directories have no
write privileges and already exist. Thanks to wagwag!
* Small bugfixes: Allow to use different login credentials than the
current HTTP Basic-Auth, if used. Order categories by name in
single entry view (garvinhicking)

View File

@ -360,7 +360,7 @@ if ( (int)$serendipity['GET']['step'] == 0 ) {
if ( is_writable($basedir . PATH_SMARTY_COMPILE) ) {
echo serendipity_installerResultDiagnose(S9Y_I_SUCCESS, WRITABLE);
} else {
if ($basewritable) {
if ($basewritable && !is_dir($basedir . PATH_SMARTY_COMPILE)) {
echo serendipity_installerResultDiagnose(S9Y_I_SUCCESS, WRITABLE);
#This directory will be created later in the process
} else {
@ -376,7 +376,7 @@ if ( (int)$serendipity['GET']['step'] == 0 ) {
if ( is_writable($basedir . 'archives/') ) {
echo serendipity_installerResultDiagnose(S9Y_I_SUCCESS, WRITABLE);
} else {
if ($basewritable) {
if ($basewritable && !is_dir($basedir . 'archives/')) {
echo serendipity_installerResultDiagnose(S9Y_I_SUCCESS, WRITABLE);
#This directory will be created later in the process
} else {
@ -393,7 +393,7 @@ if ( (int)$serendipity['GET']['step'] == 0 ) {
if ( is_writable($basedir . 'uploads/') ) {
echo serendipity_installerResultDiagnose(S9Y_I_SUCCESS, WRITABLE);
} else {
if ($basewritable) {
if ($basewritable && !is_dir($basedir . 'uploads/')) {
echo serendipity_installerResultDiagnose(S9Y_I_SUCCESS, WRITABLE);
#This directory will be created later in the process
} else {