frontend/modules/elfind/src/elFinderVolumeLocalFileSystem.class.php
/**
     * Delete dirctory trees
     *
     * @param string $localpath path need convert encoding to server encoding
     * @return boolean
     * @author Naoki Sawada
     */
Delete dirctory trees
@param string $localpath path need convert encoding to server encoding
@return boolean
@author Naoki Sawada
Delete dirctory trees @param string $localpath path need convert encoding to server encoding @return boolean @author Naoki Sawada
protected function delTree($localpath)
    {
        $regEvent = $this->folder_event_delete($localpath);
        if ($regEvent['result'] !== 'success') {
            return $this->setError(self::getErrTxt($regEvent['info']));
        }
        foreach ($regEvent['event_data'] as $k => $v) {
            array_push(parent::$event_data, $regEvent['event_data'][$k]);
        }
        clearstatcache();
        return true;
    }
protected function delTree ( $ localpath ) { $ regEvent = $ this -> folder_event_delete ( $ localpath ) ; if ( $ regEvent [ 'result' ] !== 'success' ) { return $ this -> setError ( self :: getErrTxt ( $ regEvent [ 'info' ] ) ) ; } foreach ( $ regEvent [ 'event_data' ] as $ k => $ v ) { array_push ( parent :: $ event_data , $ regEvent [ 'event_data' ] [ $ k ] ) ; } clearstatcache ( ) ; return true ; }
Delete dirctory trees
 @param string $localpath path need convert encoding to server encoding
 @return boolean
 @author Naoki Sawada
Delete dirctory trees @param string $localpath path need convert encoding to server encoding @return boolean @author Naoki Sawada
/** Оригинальное тело ф-ии до моих правок
        return $this->rmdirRecursive($localpath);
        */ //var_dump($localpath); exit;