Update v1.0.6.2

This commit is contained in:
sujitprasad
2016-02-19 12:46:06 +05:30
parent c4a6a2465f
commit be5df5334f
5 changed files with 2 additions and 50 deletions

View File

@@ -1,12 +0,0 @@
<?php
namespace App\Model\kb;
use Illuminate\Database\Eloquent\Model;
class Footer extends Model {
protected $table = 'footer';
protected $fillable = ['title', 'footer'];
}

View File

@@ -1,12 +0,0 @@
<?php
namespace App\Model\kb;
use Illuminate\Database\Eloquent\Model;
class Footer2 extends Model {
protected $table = 'footer2';
protected $fillable = ['title', 'footer'];
}

View File

@@ -1,12 +0,0 @@
<?php
namespace App\Model\kb;
use Illuminate\Database\Eloquent\Model;
class Footer3 extends Model {
protected $table = 'footer3';
protected $fillable = ['title', 'footer'];
}

View File

@@ -1,12 +0,0 @@
s<?php
namespace App\Model\kb;
use Illuminate\Database\Eloquent\Model;
class Footer4 extends Model {
protected $table = 'footer4';
protected $fillable = ['title', 'footer'];
}

View File

@@ -30,7 +30,7 @@ class FilemanagerRSC extends Filemanager {
public function getinfo() {
$object = $this->get_object();
if (isset($object->name)) {
$object = $this->get_file_info(&$object);
$object = $this->get_file_info($object);
return array(
'Path' => $object->path,
'Filename' => $object->name,
@@ -105,7 +105,7 @@ class FilemanagerRSC extends Filemanager {
foreach ( $objects as $object ) {
if(!isset($this->params['type']) || (isset($this->params['type']) && strtolower($this->params['type'])=='images' && in_array(strtolower($object->content_type),$this->config['images']))) {
if($this->config['upload']['imagesonly']== false || ($this->config['upload']['imagesonly']== true && in_array(strtolower($object->content_type),$this->config['images']))) {
$object = $this->get_file_info(&$object);
$object = $this->get_file_info($object);
$array[$object->url] = array(
'Path'=> $object->path,
'Filename' => $object->name,