• Welcome to Simple Machines Community Forum. Please login or sign up.
December 02, 2021, 07:58:35 PM

News:

Want to get involved in developing SMF, then why not lend a hand on our github!


Webslices and SEF

Started by Orstio, June 19, 2009, 11:25:58 PM

Previous topic - Next topic

Orstio

Some modification to the bridge is required for webslices to have SEF URLs.

Find (3 locations in smf.php):

if (isset($_REQUEST['action']) && $_REQUEST['action']=='.xml')

Replace with:

if (isset($_REQUEST['action']) && $_REQUEST['action']=='.xml' && $_REQUEST['type']!='webslice')

Advertisement: