summaryrefslogtreecommitdiff
path: root/scire
diff options
context:
space:
mode:
authorPreston Cody <codeman@gentoo.org>2007-03-17 03:20:00 +0000
committerPreston Cody <codeman@gentoo.org>2007-03-17 03:20:00 +0000
commitcdc2d7369dc1d05cfd3c1281ffbd0978a9d0e684 (patch)
tree85af6c2ce73076dbc13f00e2160857bf507d8c97 /scire
parentuse scire; (diff)
downloadscire-cdc2d7369dc1d05cfd3c1281ffbd0978a9d0e684.tar.gz
scire-cdc2d7369dc1d05cfd3c1281ffbd0978a9d0e684.tar.bz2
scire-cdc2d7369dc1d05cfd3c1281ffbd0978a9d0e684.zip
adding path varible to allow for module use.
adding comment that one of the includes can likely be cut svn path=/; revision=184
Diffstat (limited to 'scire')
-rw-r--r--scire/.lib/phpGACL.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/scire/.lib/phpGACL.php b/scire/.lib/phpGACL.php
index c8b062e..3e37615 100644
--- a/scire/.lib/phpGACL.php
+++ b/scire/.lib/phpGACL.php
@@ -1,8 +1,8 @@
<?php
-require_once('./phpgacl/gacl.class.php');
-require_once('./phpgacl/gacl_api.class.php');
-require_once('./phpgacl/admin/gacl_admin_api.class.php');
+require_once($path . './phpgacl/gacl.class.php');
+require_once($path . './phpgacl/gacl_api.class.php');
+require_once($path . './phpgacl/admin/gacl_admin_api.class.php'); #Not necessary.
$gacl_options = array(
'db_type' => 'mysql',
@@ -17,6 +17,6 @@ $gacl_options = array(
'smarty_compile_dir' => 'templates_c'
);
-$acl = new gacl_admin_api($gacl_options);
+$acl = new gacl_admin_api($gacl_options); #can be gacl_api
?>