openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 5ad91ad158e834a3e7dc46ce09aa188fecb6939d
parent f85db1a77c5a2dca88151a8ca2eb227cabaebbf8
Author: dankert <devnull@localhost>
Date:   Sun, 30 May 2010 18:55:24 +0200

Kein Folder-\"clean\" automatisch aktivieren.

Diffstat:
actionClasses/FolderAction.class.php | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/actionClasses/FolderAction.class.php b/actionClasses/FolderAction.class.php @@ -1157,7 +1157,11 @@ class FolderAction extends ObjectAction $this->setTemplateVar('files' ,count($this->folder->getFiles()) > 0 ); $this->setTemplateVar('pages' ,count($this->folder->getPages()) > 0 ); $this->setTemplateVar('subdirs',count($this->folder->getSubFolderIds()) > 0 ); - $this->setTemplateVar('clean' ,$this->folder->isRoot ); + + //$this->setTemplateVar('clean' ,$this->folder->isRoot ); + // Gefaehrliche Option, da dies bestehende Dateien, die evtl. nicht zum CMS geh├Âren, ├╝berschreibt. + // Daher deaktiviert. + $this->setTemplateVar('clean' ,false ); }