Skip to content

Commit

Permalink
Public __destruct
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiopvilar committed Aug 12, 2015
1 parent f48609a commit 3759ddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/router.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private function __construct(){
$this->registerFilters();
}

private function __destruct() {
public function __destruct() {

if($this->getEnv() == 'WP') {
$url = "http" . (($_SERVER['SERVER_PORT'] == 443) ? "s://" : "://") . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
Expand Down

0 comments on commit 3759ddc

Please sign in to comment.