1
EugeneP
SEF support hack
  • 2005/11/10 15:16

  • EugeneP

  • Just popping in

  • Posts: 4

  • Since: 2005/9/15


I am creating SEF engine for XOOPS 2.0.13.1. That forced me to change some core files.
File include/common.php, line 224
$url_arr = explode('/',strstr($_SERVER['PHP_SELF'],'/modules/'));
was
$url_arr = explode('/',strstr($xoopsRequestUri,'/modules/'));

If we request a module from XOOPS root and not from /modules/ folder (e.g. by mod_rewrite), $xoopsRequestUri contains only XOOPS root path.
Is it good?

Login

Who's Online

336 user(s) are online (240 user(s) are browsing Support Forums)


Members: 0


Guests: 336


more...

Donat-O-Meter

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

Latest GitHub Commits