From 3db45f520695bac6e6f07c2b34e25dc72a8655cf Mon Sep 17 00:00:00 2001 From: Cindy Li Date: Fri, 20 Aug 2010 19:13:57 +0000 Subject: [PATCH] fix the bug that clr_dir() is not from FileUtility --- docs/file_manager/delete.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/file_manager/delete.php b/docs/file_manager/delete.php index 52bde2c..1feea3d 100644 --- a/docs/file_manager/delete.php +++ b/docs/file_manager/delete.php @@ -96,7 +96,7 @@ if (isset($_POST['submit_yes'])) { $result=false; header('Location: index.php?pathext='.$_POST['pathext'].SEP.'framed='.$_POST['framed'].SEP.'popup='.$_POST['popup'].SEP.'cp='.$_POST['cp'].SEP.'cid='.$_POST['cid'].SEP.'pid='.$_POST['pid'].SEP.'a_type='.$_POST['a_type'].SEP.'_course_id='.$_course_id); exit; - } else if (!($result = clr_dir($current_path.$pathext.$filename))) { + } else if (!($result = FileUtility::clr_dir($current_path.$pathext.$filename))) { $msg->addError('DIR_NO_PERMISSION'); $result=false; header('Location: index.php?pathext='.$_POST['pathext'].SEP.'framed='.$_POST['framed'].SEP.'popup='.$_POST['popup'].SEP.'cp='.$_POST['cp'].SEP.'cid='.$_POST['cid'].SEP.'pid='.$_POST['pid'].SEP.'a_type='.$_POST['a_type'].SEP.'_course_id='.$_course_id); -- 2.17.1