overall code refactoring.

This commit is contained in:
Taylor Otwell
2011-06-14 17:27:11 -05:00
parent af24e8db45
commit 30c83f265d
36 changed files with 720 additions and 559 deletions

View File

@@ -1,8 +1,8 @@
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>

0
public/css/.gitignore vendored Normal file
View File

0
public/img/.gitignore vendored Normal file
View File

View File

@@ -85,7 +85,7 @@ if (System\Config::get('session.driver') != '')
// --------------------------------------------------------------
// Execute the global "before" filter.
// --------------------------------------------------------------
$response = System\Filter::call('before');
$response = System\Filter::call('before', array(), true);
// --------------------------------------------------------------
// Only execute the route function if the "before" filter did
@@ -107,12 +107,12 @@ if (is_null($response))
}
else
{
$response = System\Response::view('error/404', 404);
$response = System\Response::make(View::make('error/404'), 404);
}
}
else
{
$response = ( ! $response instanceof System\Response) ? new System\Response($response) : $response;
$response = System\Response::prepare($response);
}
// ----------------------------------------------------------

0
public/js/.gitignore vendored Normal file
View File