placement of other "require_once" php snipets

3 posts by 2 authors in: Forums > CMS Builder
Last Post: January 27, 2009   (RSS)

By markr - January 26, 2009

My site is already using a little page locking and multi-level access program called sitelok. My pages already have a "require_once" at the top of every page. E.g....

<?php
$groupswithaccess="ALL";
require_once("../slpw/sitelokpw.php");
?>

Can cmsb and sitelok play nicely together? Should one snipet come first?

Re: [markr] placement of other "require_once" php snipets

By Dave - January 27, 2009

Glad it's working!

Just for reference it doesn't have to be at the very top, it just needs to come before the code that displays your content from the database. We just simplify the instructions for ease of use.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com