Phrozn/Site/Base.php
protected function getProjectDir()
    {
        $dir = rtrim($this->getInputDir(), '/');
        if (is_dir($dir . '/.phrozn')) {
            $dir .= '/.phrozn/';
        }

        // see if we have entries folder present
        if (!is_dir($dir . '/entries')) {
            throw new \RuntimeException('Entries folder not found');
        }

        return $dir;
    }
protected function getProjectDir()
    {
        $dir = rtrim($this->getInputDir(), '/');
        if (is_dir($dir . '/.phrozn')) {
            $dir .= '/.phrozn/';
        }

        // see if we have entries folder present
        if (!is_dir($dir . '/entries')) {
            throw new \RuntimeException('Entries folder not found');
        }

        return $dir;
    }
protected function getProjectDir ( ) { $ dir = rtrim ( $ this -> getInputDir ( ) , '/' ) ; if ( is_dir ( $ dir . '/.phrozn' ) ) { $ dir .= '/.phrozn/' ; } // see if we have entries folder present if ( ! is_dir ( $ dir . '/entries' ) ) { throw new \ RuntimeException ( 'Entries folder not found' ) ; } return $ dir ; }
Guess directory with Phrozn project using input directory

@return string
Guess directory with Phrozn project using input directory