- Made some changes to make WebGUI compatible with the WRE for Windows.

- fix: cacheTimeout not respected as Visitor (Eric Kennedy).
 - fix: Email address with just one character in the user part not accepted
 - fix: Image (file) added to page shows before committing changes
 - fix: Typo in fileImport.pl at line 265 (zxp)
This commit is contained in:
JT Smith 2006-08-16 21:25:27 +00:00
parent da1b2d3581
commit 80ef5e925a
7 changed files with 27 additions and 17 deletions

View file

@ -262,7 +262,7 @@ sub addFiles {
#-----------------------------------------
sub setPrivileges {
print "Setting filesystem privileges.\n" unless ($quiet);
if ($session->os->get("type") = "Linuxish") {
if ($session->os->get("type") eq "Linuxish") {
unless (system("chown -R ".$webUser." ".$session->config->get("uploadsPath"))) {
print "Privileges set.\n" unless ($quiet);
} else {