Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
Moved trigger back, and removed Request variable assignment.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelchisari authored and The Appleseed Project committed Feb 9, 2011
1 parent 8d48e43 commit 29b3c1b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions system/router.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ public function Route ( ) {

$request = strtolower ( ltrim ( rtrim ( $_SERVER['REQUEST_URI'], '/' ), '/' ) );

$this->Set ( 'Request', $request );

// If GET data is in the request, then remove it.
if ( strstr ( $request, '?' ) ) {
list ( $request, $null ) = explode ( '?', $request );
Expand Down Expand Up @@ -146,10 +144,10 @@ public function Route ( ) {
}
}

$this->GetSys ( "Event" )->Trigger ( "End", "System", "Route" );

$this->Legacy ( );

$this->GetSys ( "Event" )->Trigger ( "End", "System", "Route" );

return ( true );
}

Expand Down

0 comments on commit 29b3c1b

Please sign in to comment.