src/ufw/Setup.php
protected function initProject() {
        $this->showHeader();
        Utils::getInstance()->createDirectory(['apps', 'bootstrap', 'config', 'public', 'tmp/tpl_compile', 'plugins']);
        foreach (self::FILES_BASE as $pathname => $contents) {
            Utils::getInstance()->createFile($pathname, $contents);
        }
        chmod("tmp", 775);
        chmod("tmp/tpl_compile", 775);
    }
protected function initProject() {
        $this->showHeader();
        Utils::getInstance()->createDirectory(['apps', 'bootstrap', 'config', 'public', 'tmp/tpl_compile', 'plugins']);
        foreach (self::FILES_BASE as $pathname => $contents) {
            Utils::getInstance()->createFile($pathname, $contents);
        }
        chmod("tmp", 775);
        chmod("tmp/tpl_compile", 775);
    }
protected function initProject ( ) { $ this -> showHeader ( ) ; Utils :: getInstance ( ) -> createDirectory ( [ 'apps' , 'bootstrap' , 'config' , 'public' , 'tmp/tpl_compile' , 'plugins' ] ) ; foreach ( self :: FILES_BASE as $ pathname => $ contents ) { Utils :: getInstance ( ) -> createFile ( $ pathname , $ contents ) ; } chmod ( "tmp" , 775 ) ; chmod ( "tmp/tpl_compile" , 775 ) ; }
Initialize the current workspace
Initialize the current workspace