moved cache, db, logs, and sessions to the storage directory.

This commit is contained in:
Taylor Otwell
2011-06-24 23:03:22 -05:00
parent 3985a98f60
commit 739068b00d
8 changed files with 10 additions and 10 deletions

View File

@@ -33,7 +33,7 @@ class Connector {
// If the database doesn't exist there, maybe the full
// path was specified as the database name?
// -----------------------------------------------------
if (file_exists($path = APP_PATH.'db/'.$config->database.'.sqlite'))
if (file_exists($path = APP_PATH.'storage/db/'.$config->database.'.sqlite'))
{
return new \PDO('sqlite:'.$path, null, null, static::$options);
}