src/Core/Application.php
public function rootPath($path = '')
    {
        if (defined('THEMOSIS_ROOT')) {
            return THEMOSIS_ROOT.($path ? DIRECTORY_SEPARATOR.$path : $path);
        }

        return $this->webPath($path);
    }
public function rootPath($path = '')
    {
        if (defined('THEMOSIS_ROOT')) {
            return THEMOSIS_ROOT.($path ? DIRECTORY_SEPARATOR.$path : $path);
        }

        return $this->webPath($path);
    }
public function rootPath ( $ path = '' ) { if ( defined ( 'THEMOSIS_ROOT' ) ) { return THEMOSIS_ROOT . ( $ path ? DIRECTORY_SEPARATOR . $ path : $ path ) ; } return $ this -> webPath ( $ path ) ; }
Get the root path of the project.

@param string $path

@return string
Get the root path of the project .