blob: c8b062ee10033de0aa4f16bfc24edf53614d11d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?php
require_once('./phpgacl/gacl.class.php');
require_once('./phpgacl/gacl_api.class.php');
require_once('./phpgacl/admin/gacl_admin_api.class.php');
$gacl_options = array(
'db_type' => 'mysql',
'db_host' => $db_host,
'db_user' => $db_username,
'db_password' => $db_password,
'db_name' => $db_name,
'db_table_prefix' => 'gacl_',
'caching' => 'FALSE',
'smarty_dir' => preg_replace('/\/$/', '', $smarty_dir),
'smarty_template_dir' => 'templates',
'smarty_compile_dir' => 'templates_c'
);
$acl = new gacl_admin_api($gacl_options);
?>
|