Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Increment Pages to logged users

  • Loading branch information...
commit 1ec5eb0a362f021d6c7b357cf9c1d33c0c63257c 1 parent 1ea7c48
@evandroeisinger evandroeisinger authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 hypertext-preprocessor/classes/header.class.php
View
6 hypertext-preprocessor/classes/header.class.php
@@ -57,10 +57,10 @@ public function __construct($user = null) {
if($this->user && $this->user->info->hometown) {
$this->city = $this->user->info->hometown;
- $this->title = $this->user->info->city_name . " - Ágora Eleições 2012";
- $this->config->path = strtolower($this->user->info->state_sa) . "/" . $this->user->info->city_url;
$this->location = $this->user->info->city_name . ", " . $this->user->info->state_sa;
- $this->address = "http://" . $this->config->host . "/" . $this->config->path;
+ $this->config->path = $this->page;
+ $this->address = "http://" . $this->config->host . "/" . $this->page;
+
} else {
// current location
$currentLocation = new CurrentLocation();
Please sign in to comment.
Something went wrong with that request. Please try again.