overall code refactoring.
This commit is contained in:
@@ -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
0
public/css/.gitignore
vendored
Normal file
0
public/img/.gitignore
vendored
Normal file
0
public/img/.gitignore
vendored
Normal 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
0
public/js/.gitignore
vendored
Normal file
Reference in New Issue
Block a user