public static function getInfos(){
                
                
		//subfolder shall be detected as /SUBFLODERS/tao/install/index.php so we remove the "/extension/module/action" part:
        $subfolder = $_SERVER['REQUEST_URI'];
        $subfolder = preg_replace('/\/(([^\/]*)\/){2}([^\/]*)$/', '', $subfolder);
        $subfolder = preg_replace('/^\//', '', $subfolder);
        
        return array(
			'folder'	=> $subfolder,
			'host'		=> $_SERVER['HTTP_HOST'],
			'https'		=> ($_SERVER['SERVER_PORT'] == 443) 
		);
	}
public static function getInfos(){
                
                
		//subfolder shall be detected as /SUBFLODERS/tao/install/index.php so we remove the "/extension/module/action" part:
        $subfolder = $_SERVER['REQUEST_URI'];
        $subfolder = preg_replace('/\/(([^\/]*)\/){2}([^\/]*)$/', '', $subfolder);
        $subfolder = preg_replace('/^\//', '', $subfolder);
        
        return array(
			'folder'	=> $subfolder,
			'host'		=> $_SERVER['HTTP_HOST'],
			'https'		=> ($_SERVER['SERVER_PORT'] == 443) 
		);
	}
public static function getInfos ( ) { //subfolder shall be detected as /SUBFLODERS/tao/install/index.php so we remove the "/extension/module/action" part: $ subfolder = $ _SERVER [ 'REQUEST_URI' ] ; $ subfolder = preg_replace ( '/\/(([^\/]*)\/){2}([^\/]*)$/' , '' , $ subfolder ) ; $ subfolder = preg_replace ( '/^\//' , '' , $ subfolder ) ; return array ( 'folder' => $ subfolder , 'host' => $ _SERVER [ 'HTTP_HOST' ] , 'https' => ( $ _SERVER [ 'SERVER_PORT' ] == 443 ) ) ; }
Get informations on the host system.

@return array where key/values are 'folder' as string, 'host' as string, 'https' as boolean.
Get informations on the host system .