Subversion Repositories PHPX

Compare Revisions

Last modification

Ignore whitespace Rev 74 → Rev 75

/trunk/Db/Database.php
141,7 → 141,7
 
/**
* Reads the connection configuration for this database
* from the configuration file, application/.config
* from the configuration file, .config
*
* There must be an INI section named "database:" followed
* by the value of the <code>$_dbname</code> property
159,7 → 159,7
public function readConfig ()
{
/* FIXME: Configuration file path should not be hardcoded */
$config = parse_ini_file('application/.config', true);
$config = parse_ini_file('.config', true);
if ($config !== false)
{
$section = 'database:' . $this->_dbname;
/trunk/Application.php
37,7 → 37,7
* Relative path to the controllers directory
* @var string
*/
protected $_controllerPath = 'application/controllers';
protected $_controllerPath = 'controllers';
 
/**
* Default controller of the application