[pmwiki-users] Re: New feature proposal - need help with markup selection

Radu radu at monicsoft.net
Thu Mar 17 01:55:31 CST 2005


At 05:34 PM 3/16/2005, Patrick R. Michaud wrote:
>Ummm, perhaps creating local/Somegroup.php with
>
>    <?php
>      include_once('local/some_complicated_stuff.php');
>    ?>

And it's also a good idea to start any local/Somegroup.php or any 
web-accessible php files (like local/some_complicated_stuff.php), with:

<?php if (!defined('PmWiki')) exit();

Just so someone doesn't accidentally or maliciously latch directly into 
your pmwiki-ancillary php. Better safe than sorry :)


Cheers,
Radu
(www.monicsoft.net) 




More information about the pmwiki-users mailing list