source: trunk/docs/examples/db_auth.inc.php @ 316

Last change on this file since 316 was 316, checked in by quinn, 16 years ago

Minor improvements to module maker scripts. Minor AuthorizeNet? change.

File size: 481 bytes
Line 
1<?php
2/*
3* The credentials here are to be loaded only by command-line scripts executed
4* on the command line or via cron. This script should be not be readable by apache.
5* Ownershipt should be the web owner, with only user-readbility, such as:
6* -rw-------@  1 bob  bob   416 Mar 10 16:59 global/db_auth.inc.php
7*/
8require_once 'codebase/lib/App.inc.php';
9$app =& App::getInstance();
10
11$app->setParam(array(
12    'db_name' => '',
13    'db_user' => '',
14    'db_pass' => '',
15));
16?>
Note: See TracBrowser for help on using the repository browser.