IF we Tokenize our routes in our router files we could make the admin link whatever we wished on sites avoiding having the page just be /admin we could also do the same for blog, whatever
we set the routes up in the bootstrapper as tokenized, and we can build the links in the views.
// for instance the route is '/subscribe/@channel' with PARAMS.channel = 'fatfree'
echo $f3->build('@channel'); // displays 'fatfree'
echo $f3->build('/get-it/now/@channel'); // displays '/get-it/now/fatfree'
echo $f3->build('/subscribe/@channel'); // displays '/subscribe/fatfree'
IF we Tokenize our routes in our router files we could make the admin link whatever we wished on sites avoiding having the page just be /admin we could also do the same for blog, whatever
we set the routes up in the bootstrapper as tokenized, and we can build the links in the views.
// for instance the route is '/subscribe/@channel' with PARAMS.channel = 'fatfree' echo $f3->build('@channel'); // displays 'fatfree' echo $f3->build('/get-it/now/@channel'); // displays '/get-it/now/fatfree' echo $f3->build('/subscribe/@channel'); // displays '/subscribe/fatfree'