frontend/modules/elfind/src/elFinderVolumeLocalFileSystem.class.php
/**
     * Create dir and return created dir path or false on failed
     *
     * @param  string $path parent dir path
     * @param string $name new directory name
     * @return string|bool
     * @author Dmitry (dio) Levashov
     **/
Create dir and return created dir path or false on failed
@param  string $path parent dir path
@param string $name new directory name
@return string|bool
@author Dmitry (dio) Levashov
Create dir and return created dir path or false on failed @param string $path parent dir path @param string $name new directory name @return string|bool @author Dmitry ( dio ) Levashov
protected function _mkdir($path, $name)
    {
        $path = $this->_joinPath($path, $name);
        if ($name == $this->options['quarantine']) {
            mkdir($path);
            chmod($path, $this->options['dirMode']);
            clearstatcache();
            return $path;
        }
        $regEvent = $this->folder_event_create($path);
        if ($regEvent['result'] !== 'success') {
            return $this->setError(self::getErrTxt($regEvent['info']));
        }
        clearstatcache();
        foreach ($regEvent['event_data'] as $k => $v) {
            array_push(parent::$event_data, $regEvent['event_data'][$k]);
        }
        return $path;
    }
protected function _mkdir ( $ path , $ name ) { $ path = $ this -> _joinPath ( $ path , $ name ) ; if ( $ name == $ this -> options [ 'quarantine' ] ) { mkdir ( $ path ) ; chmod ( $ path , $ this -> options [ 'dirMode' ] ) ; clearstatcache ( ) ; return $ path ; } $ regEvent = $ this -> folder_event_create ( $ path ) ; if ( $ regEvent [ 'result' ] !== 'success' ) { return $ this -> setError ( self :: getErrTxt ( $ regEvent [ 'info' ] ) ) ; } clearstatcache ( ) ; foreach ( $ regEvent [ 'event_data' ] as $ k => $ v ) { array_push ( parent :: $ event_data , $ regEvent [ 'event_data' ] [ $ k ] ) ; } return $ path ; }
Create dir and return created dir path or false on failed
 @param  string $path parent dir path
 @param string $name new directory name
 @return string|bool
 @author Dmitry (dio) Levashov
Create dir and return created dir path or false on failed @param string $path parent dir path @param string $name new directory name @return string|bool @author Dmitry ( dio ) Levashov
/** Оригинальное тело ф-ии до моих правок
        $path = $this->_joinPath($path, $name);

        if (mkdir($path)) {
            chmod($path, $this->options['dirMode']);
            clearstatcache();

            //touch($path.'.dirCreated');
            return $path;
        }

        return false;
        */ //var_dump($path); exit; //var_dump($regEvent['info']); exit; //var_dump(get_parent_class()); exit;