mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
file exception added
This commit is contained in:
@@ -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)).'<br />';
|
||||
// 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)
|
||||
|
Reference in New Issue
Block a user