- makeDir() is now a function in LetoDMS_File

This commit is contained in:
steinm 2010-11-25 21:26:42 +00:00
parent 7b7d0cc954
commit 93a57dcc3f

View File

@ -103,7 +103,7 @@ function createVersionigFile($document)
// if directory has been removed recreate it
if (!file_exists($settings->_contentDir . $document->getDir()))
if (!makeDir($settings->_contentDir . $document->getDir())) return false;
if (!LetoDMS_File::makeDir($settings->_contentDir . $document->getDir())) return false;
$handle = fopen($settings->_contentDir . $document->getDir() .$settings-> _versioningFileName , "wb");