cleaned up paths.

This commit is contained in:
Taylor Otwell
2012-01-28 14:55:08 -06:00
parent 409e908964
commit 97fcea1e51
29 changed files with 86 additions and 81 deletions

View File

@@ -24,7 +24,7 @@ class SQLite extends Connector {
// SQLite databases will be created automatically if they do not exist, so we
// will not check for the existence of the database file before establishing
// the PDO connection to the database.
$path = $GLOBALS['STORAGE_PATH'].'database'.DS.$config['database'].'.sqlite';
$path = path('storage').'database'.DS.$config['database'].'.sqlite';
return new PDO('sqlite:'.$path, null, null, $options);
}