src/Norm/Connection/FlatFileConnection.php
protected function prepareDatabaseEcosystem()
    {
        $basePath = realpath('../');
        $dbPath = $basePath.'/'.$this->options['dbPath'].'/'.$this->options['database'];

        if (! is_dir($dbPath)) {
            mkdir($dbPath, 0755, true);
        }

        $this->dbPath = realpath($dbPath);
    }
protected function prepareDatabaseEcosystem()
    {
        $basePath = realpath('../');
        $dbPath = $basePath.'/'.$this->options['dbPath'].'/'.$this->options['database'];

        if (! is_dir($dbPath)) {
            mkdir($dbPath, 0755, true);
        }

        $this->dbPath = realpath($dbPath);
    }
protected function prepareDatabaseEcosystem ( ) { $ basePath = realpath ( '../' ) ; $ dbPath = $ basePath . '/' . $ this -> options [ 'dbPath' ] . '/' . $ this -> options [ 'database' ] ; if ( ! is_dir ( $ dbPath ) ) { mkdir ( $ dbPath , 0755 , true ) ; } $ this -> dbPath = realpath ( $ dbPath ) ; }
Prepare database file and folder structure.

@return void
Prepare database file and folder structure .