Ignore:
Timestamp:
Jun 3, 2006 7:47:48 PM (18 years ago)
Author:
scdev
Message:

Q - Merged branches/2.0singleton into trunk. Completed updating classes to use singleton methods. Implemented tests. Fixed some bugs. Changed some interfaces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/example_config.inc.php

    r101 r136  
    7070// DB credentials for command line scripts stored in a file with read rights
    7171// 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.
    7373require_once 'global/db_auth.inc.php';
    7474
     75// Start application-based functionality: database, session, environment, ini setup, etc.
    7576// Most configuration parameters must be set before starting the App.
    7677$app->start();
     78
     79// Global DB object. Automatically preconfigured by $app->start().
     80$db =& DB::getInstance();
    7781
    7882// User authentication.
Note: See TracChangeset for help on using the changeset viewer.