|
|
@@ -118,7 +118,8 @@ class FileUploader {
|
|
|
return false;
|
|
|
} else {
|
|
|
foreach ($foundFolders as $vFolder) {
|
|
|
- $this->_foundFolders []= end(explode('/', $vFolder));
|
|
|
+ $vFolderParts = explode('/', $vFolder);
|
|
|
+ $this->_foundFolders[] = end($vFolderParts);
|
|
|
}
|
|
|
}
|
|
|
if($DBG){ echo'<pre style="max-height:200px;overflow:auto;border:1px solid red;text-align:left;">this->_foundFolders (' . __CLASS__ . '::' . __FUNCTION__ . ':' . __LINE__ . '): ';print_r($this->_foundFolders);echo'</pre>'."\n"; }
|
|
|
@@ -276,6 +277,7 @@ class FileUploader {
|
|
|
}
|
|
|
|
|
|
public function getFileSearchRegex() {
|
|
|
+ $DBG = false;
|
|
|
$look = new stdClass();
|
|
|
if ($this->_cnf['LOOKAT_FILES']) {
|
|
|
//$look->regex = V::get('LOOK_REGEX', '', $this->_cnf['LOOKAT_FOLDER']);
|