Add a config item to specify a custom icon. Based on a patch by Tyler J. Wagner.

This commit is contained in:
Sébastien Lucas 2012-12-22 18:03:52 +01:00
parent 2134661ee7
commit 00d7e1da4a
4 changed files with 19 additions and 8 deletions

View file

@ -191,6 +191,7 @@ class Page
public $idPage;
public $idGet;
public $query;
public $favicon;
public $n;
public $totalNumber = -1;
public $entryArray = array();
@ -230,9 +231,12 @@ class Page
}
public function __construct($pid, $pquery, $pn) {
global $config;
$this->idGet = $pid;
$this->query = $pquery;
$this->n = $pn;
$this->favicon = $config['cops_icon'];
}
public function InitializeContent ()