mirror of
https://github.com/avecms/AVE.cms.git
synced 2025-09-03 14:46:43 +00:00
Fixes
This commit is contained in:
admin
functions
lang
bg
dbactions.txtdocs.txtgroups.txtlogs.txtmodules.txtrequest.txtrubs.txtscripts.jssettings.txtsysblocks.txt
ru
ua
templates
class
fields/image_mega
functions
inc
index.php@ -355,10 +355,13 @@
|
||||
: '';
|
||||
}
|
||||
|
||||
function getExtension($file)
|
||||
if (! function_exists('getExtension'))
|
||||
{
|
||||
$file = pathinfo($file);
|
||||
return $file['extension'];
|
||||
function getExtension($file)
|
||||
{
|
||||
$file = pathinfo($file);
|
||||
return $file['extension'];
|
||||
}
|
||||
}
|
||||
|
||||
$valid_formats = array("jpg", "png", "gif", "bmp", "jpeg");
|
||||
|
Reference in New Issue
Block a user