updated rich edit to 1.45

fixed cache privileges problem
added new buttons to rich edit
rich edit now defaults to allow any HTML tags
This commit is contained in:
JT Smith 2005-08-05 22:06:14 +00:00
parent 677558fe71
commit 8a5c997441
9 changed files with 56 additions and 17 deletions

View file

@ -232,7 +232,10 @@ sub set {
my $ttl = shift || 60;
my $path = $self->getFolder();
unless (-e $path) {
eval {mkpath($path)};
my $oldumask = umask();
umask(0000);
eval {mkpath($path,0)};
umask($oldumask);
if ($@) {
WebGUI::ErrorHandler::error("Couldn't create cache folder: ".$path." : ".$@);
return;