예제 #1
0
<?php

/* ***********************************************************************************************
 *
 * Phoebius Framework
 *
 * **********************************************************************************************
 *
 * Copyright (c) 2009 phoebius.org
 *
 * All rights reserved.
 *
 ************************************************************************************************/
//
// host config
//
define('APP_SLOT_CONFIGURATION', SLOT_PRESET_DEVELOPMENT);
Autoloader::getInstance()->clearCache();
DBPool::add('default', PgSqlDB::create()->setDBName('phoebius-site')->setEncoding('utf8')->setUser('phoebus')->setPassword('')->setHost(''));
예제 #2
0
파일: config.php 프로젝트: phoebius/app
<?php

/* ***********************************************************************************************
 *
 * Phoebius Framework
 *
 * **********************************************************************************************
 *
 * Copyright (c) 2009 phoebius.org
 *
 * This program is free software; you can redistribute it and/or modify it under the terms
 * of the GNU Lesser General Public License as published by the Free Software Foundation;
 * either version 3 of the License, or (at your option) any later version.
 *
 * You should have received a copy of the GNU Lesser General Public License along with
 * this program; if not, see <http://www.gnu.org/licenses/>.
 *
 ************************************************************************************************/
//
// host config
//
define('APP_SLOT_CONFIGURATION', SLOT_PRESET_DEVELOPMENT);
Autoloader::getInstance()->clearCache();
DBPool::add('default', MySqlDB::create());