src/Joomlatools/Console/Joomla/Util.php
public static function getTemplatePath()
    {
        $path = \Phar::running();

    	if (!empty($path)) {
    		return $path . DIRECTORY_SEPARATOR . 'bin' . DIRECTORY_SEPARATOR . '.files';
    	}

    	$root = dirname(dirname(dirname(dirname(__DIR__))));

    	return realpath($root .DIRECTORY_SEPARATOR . 'bin' . DIRECTORY_SEPARATOR . '.files');
    }
public static function getTemplatePath()
    {
        $path = \Phar::running();

    	if (!empty($path)) {
    		return $path . DIRECTORY_SEPARATOR . 'bin' . DIRECTORY_SEPARATOR . '.files';
    	}

    	$root = dirname(dirname(dirname(dirname(__DIR__))));

    	return realpath($root .DIRECTORY_SEPARATOR . 'bin' . DIRECTORY_SEPARATOR . '.files');
    }
public static function getTemplatePath ( ) { $ path = \ Phar :: running ( ) ; if ( ! empty ( $ path ) ) { return $ path . DIRECTORY_SEPARATOR . 'bin' . DIRECTORY_SEPARATOR . '.files' ; } $ root = dirname ( dirname ( dirname ( dirname ( __DIR__ ) ) ) ) ; return realpath ( $ root . DIRECTORY_SEPARATOR . 'bin' . DIRECTORY_SEPARATOR . '.files' ) ; }
Get template directory path

@return string
Get template directory path