- Timestamp:
- Dec 10, 2021 12:01:14 AM (2 years ago)
- Location:
- trunk/bin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/_config.inc.php
r678 r757 28 28 29 29 // The name of the CLI. 30 $cli_ executed= basename($_SERVER['argv'][0]);30 $cli_name = basename($_SERVER['argv'][0]); 31 31 32 32 // Enforce "relaxed" directory location, if set by the called script. … … 50 50 } 51 51 if (!$db_auth_file) { 52 printf("%s error: the current directory must be common site directory (i.e. the parent directory of the document root) AND a db_auth file must exist within two directory levels.\n", $cli_ executed);52 printf("%s error: the current directory must be common site directory (i.e. the parent directory of the document root) AND a db_auth file must exist within two directory levels.\n", $cli_name); 53 53 exit(1); 54 54 } 55 55 if (fileowner($db_auth_file) != getmyuid()) { 56 printf("%s error: you must execute this script as the owner of the web files.\n", $cli_ executed);56 printf("%s error: you must execute this script as the owner of the web files.\n", $cli_name); 57 57 exit(1); 58 58 } -
trunk/bin/init_codebase_tables.cli.php
r699 r757 183 183 // User didn't provide custom config. Use sane defaults. 184 184 require_once CODEBASE_PATH . '/lib/DBSessionHandler.inc.php'; 185 // Creating a session here causes a âSession save handler cannot be changed after headers have already been sentâ warning. This can be ignored. 185 186 $db_session = new DBSessionHandler($app->db, array( 186 187 'db_table' => 'session_tbl',
Note: See TracChangeset
for help on using the changeset viewer.