From a12091fcaa20c678af6d27b4d8c7c302e11ac099 Mon Sep 17 00:00:00 2001 From: CaMer0n Date: Tue, 12 Jan 2010 16:11:30 +0000 Subject: [PATCH] file exception added --- e107_admin/admin.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e107_admin/admin.php b/e107_admin/admin.php index 750004744..f1819f9a7 100644 --- a/e107_admin/admin.php +++ b/e107_admin/admin.php @@ -9,8 +9,8 @@ * * * $Source: /cvs_backup/e107_0.8/e107_admin/admin.php,v $ - * $Revision: 1.25 $ - * $Date: 2009-11-18 01:04:24 $ + * $Revision: 1.26 $ + * $Date: 2010-01-12 16:11:30 $ * $Author: e107coders $ */ @@ -81,7 +81,7 @@ if (count($allowed_types) == 0) //echo "Allowed filetypes = ".implode(', ',array_keys($allowed_types)).'
'; // avatar check. $public = array(e_UPLOAD, e_UPLOAD.'avatars'); -$exceptions = array(".","..","/","CVS","avatars","Thumbs.db",".htaccess","php.ini",".cvsignore"); +$exceptions = array(".","..","/","CVS","avatars","Thumbs.db",".htaccess","php.ini",".cvsignore",'e107.htaccess'); //TODO use $file-class to grab list and perform this check. foreach ($public as $dir)