Fork me on GitHub
Get XOOPS XOOPSXOOPS FAQFAQ ForumsForums NewsNews ThemesThemes ModulesModules
New Posts New Topics All Posts All Forums Index General Modules Themes Development International XOOPS.org

Search

Nominate XOOPS!

Learn XOOPS Core

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $15.00
Net Balance: $14.11
Left to go: $85.89

Donations
Anonymous ($15)Jul-20

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

- 2 2.5 2.6 3.0 4 6 2013 adslight Android AntiHarvesting AntiMalUser AntiSpam API Apple Battlefield billige Bootstrap Captcha cell cent chronolabs CHUNG Clicks content CĂN demo docek download Dresses evden eve facebook Fat floor Food for free Gateway Google Guide herre Home Honeypot HP Human HỘ IP iPhone jQuery Language List log Loss mobile module modules Monster new newbb news NHÀ online PARK phone PHP Prevention profile project Protector publisher Rapid RESIDENCE responsive review Rights rmcommon security Sentry site Smartphone Smoking Solution Spam stem Studio tdmcreate template The Theme themes web weight Wishcraft xoops Xortify XPayment ZendFramework

New Users

Registering user

# 137635

otr214406

Welcome to XOOPS!




Bottom   Previous Topic   Next Topic  Register To Post



#1 Posted on: 2011/5/31 23:07 XOOPS_URL of XE doesn't have the host name.
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).

Top

toemon
Just popping in
Just popping in
Joined:
2010/1/20 8:32
From Japan
Group:
Registered Users
Posts: 10
(Show More) (Show Less)







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You can vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.

[Advanced Search]