apps/encryption/lib/Migration.php
/**
	 * create directories for the keys recursively
	 *
	 * @param string $path
	 */
create directories for the keys recursively
@param string $path
create directories for the keys recursively @param string $path
private function createPathForKeys($path) {
		if (!$this->view->file_exists($path)) {
			$sub_dirs = explode('/', $path);
			$dir = '';
			foreach ($sub_dirs as $sub_dir) {
				$dir .= '/' . $sub_dir;
				if (!$this->view->is_dir($dir)) {
					$this->view->mkdir($dir);
				}
			}
		}
	}
private function createPathForKeys ( $ path ) { if ( ! $ this -> view -> file_exists ( $ path ) ) { $ sub_dirs = explode ( '/' , $ path ) ; $ dir = '' ; foreach ( $ sub_dirs as $ sub_dir ) { $ dir .= '/' . $ sub_dir ; if ( ! $ this -> view -> is_dir ( $ dir ) ) { $ this -> view -> mkdir ( $ dir ) ; } } } }
create directories for the keys recursively
 @param string $path
create directories for the keys recursively @param string $path