diff --git a/include/functions_installer.inc.php b/include/functions_installer.inc.php index 5ef02743..a55060db 100644 --- a/include/functions_installer.inc.php +++ b/include/functions_installer.inc.php @@ -580,6 +580,7 @@ function serendipity_checkInstallation() { } elseif (!is_writable($_POST['serendipityPath']) ) { $errs[] = sprintf(DIRECTORY_WRITE_ERROR, htmlspecialchars($_POST['serendipityPath'])); + } elseif (!is_dir($_POST['serendipityPath'] . $_POST['uploadPath'] ) && @mkdir($_POST['serendipityPath'] . $_POST['uploadPath'], $umask) !== true) { $errs[] = sprintf(DIRECTORY_CREATE_ERROR, htmlspecialchars($_POST['serendipityPath']) . htmlspecialchars($_POST['uploadPath'])); } diff --git a/templates/2k11/admin/plugins.inc.tpl b/templates/2k11/admin/plugins.inc.tpl index 66d2ddc1..c701bcbb 100644 --- a/templates/2k11/admin/plugins.inc.tpl +++ b/templates/2k11/admin/plugins.inc.tpl @@ -39,10 +39,11 @@ {$config} {elseif $adminAction == 'addnew'} -