> if ((!isset($_GET['p'])) || ($_GET['p'] == '')) $pageLink =
> BOLTconfig('BOLTdefaultPage', 'main');
> else $pageLink = $_GET['p'];
>
> I just tested it. Works great!

Thank you! I suppose you will add this fix to the next version. It's a
very useful feature to configure the default page without touching the
engine or the config.php.

I wrote your code with the if-less syntax, I like it (though I don't
know wich is faster):

$pageLink = (!isset($_GET['p'])) || ($_GET['p'] == '') ?
BOLTconfig('BOLTdefaultPage', 'main') : $pageLink = $_GET['p'];

Cheers,
Marcos

--
http://alinome.net
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to