Changeset 533 for trunk/bin/init_codebase_tables.cli.php
- Timestamp:
- Jul 13, 2015 8:48:29 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/init_codebase_tables.cli.php
r532 r533 33 33 34 34 require_once dirname(__FILE__) . '/_config.inc.php'; 35 require_once 'codebase/lib/ACL.inc.php';36 require_once 'codebase/lib/Auth_SQL.inc.php';37 require_once 'codebase/lib/Lock.inc.php';38 require_once 'codebase/lib/Prefs.inc.php';39 require_once 'codebase/lib/Version.inc.php';35 require_once CODEBASE_PATH . '/lib/ACL.inc.php'; 36 require_once CODEBASE_PATH . '/lib/Auth_SQL.inc.php'; 37 require_once CODEBASE_PATH . '/lib/Lock.inc.php'; 38 require_once CODEBASE_PATH . '/lib/Prefs.inc.php'; 39 require_once CODEBASE_PATH . '/lib/Version.inc.php'; 40 40 41 41 /******************************************************************** … … 54 54 exit(1); 55 55 } 56 57 $app->logMsg(sprintf('Running initDB on %s codebase tables in db %s', $class, $db->getParam('db_name')), LOG_INFO, __FILE__, __LINE__); 56 58 57 59 if ('all' == $class) { … … 82 84 function help() 83 85 { 84 global $ this_script;86 global $cli_executed; 85 87 ?> 86 This script initializes DB tables managed by Codebase classes. 88 This script initializes DB tables managed by Codebase classes. If database schema is changed a log message will display. 87 89 88 Usage: <?php echo $ this_script; ?> [OPTIONS] CLASSNAME90 Usage: <?php echo $cli_executed; ?> [OPTIONS] CLASSNAME 89 91 90 92 OPTIONS
Note: See TracChangeset
for help on using the changeset viewer.