fixing a bug and cleaning.

This commit is contained in:
Taylor Otwell
2012-02-12 21:52:28 -06:00
parent b0a223aa4b
commit 620f3ba91f
3 changed files with 4 additions and 8 deletions

View File

@@ -38,8 +38,7 @@ abstract class Provider {
// Once we have the Zip archive, we can open it and extract it
// into the working directory. By convention, we expect the
// archive to contain one root directory, and all of the
// bundle contents should be stored in that directory.
// archive to contain one root directory with the bundle.
$zip->extractTo($work);
$latest = File::latest($work)->getRealPath();

View File

@@ -30,8 +30,7 @@ class Manager extends Task {
// To create the session table, we will actually create a database
// migration and then run it. This allows the application to stay
// portable through migrations while still having a session table
// generated on the database.
// portable through the framework's migrations system.
$migration = $migrator->make(array('create_session_table'));
$stub = path('sys').'cli/tasks/session/migration'.EXT;
@@ -40,8 +39,7 @@ class Manager extends Task {
// By default no session driver is specified in the configuration.
// Since the developer is requesting that the session table be
// created on the database, we'll set the driver to database
// to save an extra step for the developer.
// created on the database, we'll set the driver.
$config = File::get(path('app').'config/session'.EXT);
$config = str_replace(