1
toemon
XOOPS_URL of XE doesn't have the host name.
  • 2011/6/1 4:07

  • toemon

  • Just popping in

  • Posts: 10

  • Since: 2010/1/20


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).

Login

Who's Online

173 user(s) are online (119 user(s) are browsing Support Forums)


Members: 0


Guests: 173


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits