3
Quote:
domin wrote:
hi, Catzwolf
i can't create a new directory via upload management in wf-section. anyone help me?
Open the admin/filemanager.php and search for following section
if ($action == 'mkdir') {
$newdir = str_replace("../", "", $_POST["new_dirname"]);
$newdir = strtolower("{$dirpath}/{$newdir}");
Replace the last $newdir = ... line with following:
$newdir = strtolower("{$HTTP_POST_VARS['dirpath']}/{$newdir}");
I also had to change some other parts of the filemanager to get the upload, the whole navigation and the mkfile to work.
Patchfile <- this patchfiles includes all changes. The only thing I couldn't get to work yet, is the uploading within articles. Probably thanks to a safe-mode restriction.