1
           
            
                
     
    
    I am testing an old module on Xoops Engine Alpha 2. 
XOOPS_URL doesn't have the hostname.
XOOPS_THEME_URL and XOOPS_UPLOAD_URL are also the same. 
They had the hostname at old XOOPS. 
Isn't it a bug?
They are defined in the following code.
lib/Engine/Legacy/Legacy.php
 define("XOOPS_URL", XOOPS::url('www'));         define("XOOPS_THEME_URL", XOOPS::url('www') . '/themes');         define("XOOPS_UPLOAD_URL", XOOPS::url('www') . '/uploads');  
lib/Engine/Legacy/Host.php
 define("XOOPS_URL", $this->url('www'));         define("XOOPS_THEME_URL", $this->url('www') . '/themes');         define("XOOPS_UPLOAD_URL", $this->url('www') . '/uploads');  
I think that I should get it with url('www',true).