Update v1.0.6.2
This commit is contained in:
@@ -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'];
|
|
||||||
|
|
||||||
}
|
|
@@ -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'];
|
|
||||||
|
|
||||||
}
|
|
@@ -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'];
|
|
||||||
|
|
||||||
}
|
|
@@ -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'];
|
|
||||||
|
|
||||||
}
|
|
@@ -30,7 +30,7 @@ class FilemanagerRSC extends Filemanager {
|
|||||||
public function getinfo() {
|
public function getinfo() {
|
||||||
$object = $this->get_object();
|
$object = $this->get_object();
|
||||||
if (isset($object->name)) {
|
if (isset($object->name)) {
|
||||||
$object = $this->get_file_info(&$object);
|
$object = $this->get_file_info($object);
|
||||||
return array(
|
return array(
|
||||||
'Path' => $object->path,
|
'Path' => $object->path,
|
||||||
'Filename' => $object->name,
|
'Filename' => $object->name,
|
||||||
@@ -105,7 +105,7 @@ class FilemanagerRSC extends Filemanager {
|
|||||||
foreach ( $objects as $object ) {
|
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(!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']))) {
|
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(
|
$array[$object->url] = array(
|
||||||
'Path'=> $object->path,
|
'Path'=> $object->path,
|
||||||
'Filename' => $object->name,
|
'Filename' => $object->name,
|
||||||
|
Reference in New Issue
Block a user