1
ralf57
Printing XOOPS_URL,XOOPS_ROOT_PATH,etc... in language defines?
  • 2005/1/31 9:10

  • ralf57

  • Quite a regular

  • Posts: 231

  • Since: 2003/2/3 1


I need to print the value of XOOPS_URL and XOOPS_ROOT_PATH inside my language defines (modinfo.php).
I've tried with
define("_MI_MYCONSTANT""The value is XOOPS_URL");

but it obviuosly outputs
The value is XOOPS_URL

instead of
The value is http://www.mysite.com

Is it possible to have XOOPS_URL,etc interpreted in
language defines?
And if so,which is the correct synthax?
Thanks in advance,ralf.

2
Mithrandir
Re: Printing XOOPS_URL,XOOPS_ROOT_PATH,etc... in language defines?

have you tried
define("_MI_MYCONSTANT""The value is"XOOPS_URL);
?

3
ralf57
Re: Printing XOOPS_URL,XOOPS_ROOT_PATH,etc... in language defines?
  • 2005/1/31 20:28

  • ralf57

  • Quite a regular

  • Posts: 231

  • Since: 2003/2/3 1


Thank you Mith,
this works fine!

Login

Who's Online

212 user(s) are online (151 user(s) are browsing Support Forums)


Members: 0


Guests: 212


more...

Donat-O-Meter

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

Latest GitHub Commits