* Copyright 2001-2010 Strangecode, LLC * * This file is part of The Strangecode Codebase. * * The Strangecode Codebase is free software: you can redistribute it and/or * modify it under the terms of the GNU General Public License as published by the * Free Software Foundation, either version 3 of the License, or (at your option) * any later version. * * The Strangecode Codebase is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * The Strangecode Codebase. If not, see . */ /* * The credentials here are to be loaded only by command-line scripts executed * on the command line or via cron. This script should be not be readable by apache. * Ownership should be the web owner, with only user-readability, such as: * -rw-------@ 1 bob bob 416 Mar 10 16:59 global/db_auth.inc.php */ require_once 'codebase/lib/App.inc.php'; $app =& App::getInstance(); $app->setParam(array( 'db_name' => '', 'db_user' => '', 'db_pass' => '', )); ?>