look at this:
- Code: Select all
$method = (isset($roster->pages[1]) ? $roster->pages[1] : '');
$cont = (isset($_GET['cont']) ? $_GET['cont'] : '');
$errmsg = $result = '';
if( $roster->pages[1] == 'addon' )
Allright, so first parameter in url needs to be ajax to load ajax.php in /pages. Then the first line wants the method name, but some lines later the same line is taken as an indicator that roster has to load a addon.
So where to put my method call?