Changeset 136 for trunk/docs/example_config.inc.php
- Timestamp:
- Jun 3, 2006 7:47:48 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/example_config.inc.php
r101 r136 70 70 // DB credentials for command line scripts stored in a file with read rights 71 71 // given only to the user who will be executing the scripts: -rw------- 72 // This file includes App::method calls so must be included after App.72 // This file includes $app-> method calls so must be included after App. 73 73 require_once 'global/db_auth.inc.php'; 74 74 75 // Start application-based functionality: database, session, environment, ini setup, etc. 75 76 // Most configuration parameters must be set before starting the App. 76 77 $app->start(); 78 79 // Global DB object. Automatically preconfigured by $app->start(). 80 $db =& DB::getInstance(); 77 81 78 82 // User authentication.
Note: See TracChangeset
for help on using the changeset viewer.