src build elFinder-2.1-e6d6af2

This commit is contained in:
nao-pon
2016-11-09 00:21:26 +09:00
parent 3ab3c1cea8
commit c4b8c40e04
16 changed files with 4042 additions and 210 deletions
+2 -2
View File
@@ -69,7 +69,8 @@ class elFinderVolumeMySQL extends elFinderVolumeDriver {
'files_table' => 'elfinder_file',
'tmbPath' => '',
'tmpPath' => '',
'rootCssClass' => 'elfinder-navbar-root-sql'
'rootCssClass' => 'elfinder-navbar-root-sql',
'noSessionCache' => array('hasdirs')
);
$this->options = array_merge($this->options, $opts);
$this->options['mimeDetect'] = 'internal';
@@ -235,7 +236,6 @@ class elFinderVolumeMySQL extends elFinderVolumeDriver {
$res = $this->query($sql);
if ($res) {
while ($row = $res->fetch_assoc()) {
// debug($row);
$id = $row['id'];
if ($row['parent_id']) {
$row['phash'] = $this->encode($row['parent_id']);