Bläddra i källkod

Remove logging

master
Benjamin Kitt 8 år sedan
förälder
incheckning
0ef551c8c8
1 ändrade filer med 0 tillägg och 3 borttagningar
  1. +0
    -3
      base.php

+ 0
- 3
base.php Visa fil

@@ -375,16 +375,13 @@ class Link
class LinkNavigation extends Link
{
public function __construct($phref, $prel = NULL, $ptitle = NULL) {
error_log("BENTEST: " . $_SERVER["SCRIPT_NAME"]);
parent::__construct ($phref, Link::OPDS_NAVIGATION_TYPE, $prel, $ptitle);
if (!is_null (GetUrlParam (DB))) $this->href = addURLParameter ($this->href, DB, GetUrlParam (DB));
if (!preg_match ("#^\?(.*)#", $this->href) && !empty ($this->href)) $this->href = "?" . $this->href;
if (preg_match ("/(bookdetail|getJSON).php/", $_SERVER["SCRIPT_NAME"])) {
$this->href = "index.php" . $this->href;
error_log("BENTEST2: " . $this->href);
} else {
$this->href = trim($_SERVER["SCRIPT_NAME"],'/') . $this->href;
error_log("BENTEST3: " . $this->href);
}
}
}


Laddar…
Avbryt
Spara