Changeset 533 for trunk/bin/acl.cli.php
- Timestamp:
- Jul 13, 2015 8:48:29 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/acl.cli.php
r532 r533 42 42 43 43 // ACL! 44 require_once 'codebase/lib/ACL.inc.php';44 require_once CODEBASE_PATH . '/lib/ACL.inc.php'; 45 45 $acl =& ACL::getInstance(); 46 46 $acl->setParam(array('create_table' => false)); … … 181 181 function help() 182 182 { 183 global $ this_script;183 global $cli_executed; 184 184 185 185 ?> … … 210 210 implying access to any object of that type. 211 211 212 Usage: <?php echo $ this_script; ?> command [args]212 Usage: <?php echo $cli_executed; ?> command [args] 213 213 214 214 Where command is any of the following (with arguments): … … 255 255 $app =& App::getInstance(); 256 256 $db =& DB::getInstance(); 257 global $this_script;258 257 259 258 echo "\n"; … … 314 313 $app =& App::getInstance(); 315 314 $db =& DB::getInstance(); 316 global $this_script;317 315 318 316 // Retrieve access value from db.
Note: See TracChangeset
for help on using the changeset viewer.