fix photo file browser
This commit is contained in:
parent
033a9f67e7
commit
e1133ec1d0
@ -53,7 +53,8 @@ function fbrowser_content($a){
|
|||||||
|
|
||||||
function files1($rr){
|
function files1($rr){
|
||||||
global $a;
|
global $a;
|
||||||
$types = Photo::supportedTypes();
|
$ph = photo_factory('');
|
||||||
|
$types = $ph->supportedTypes();
|
||||||
$ext = $types[$rr['type']];
|
$ext = $types[$rr['type']];
|
||||||
|
|
||||||
if($a->get_template_engine() === 'internal') {
|
if($a->get_template_engine() === 'internal') {
|
||||||
|
Reference in New Issue
Block a user