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 markr - January 27, 2009

Nevermind...it seems to work fine. (I guess I thought it might explode or something.) I put the page access "require_once" first.