Add a config item to specify a custom icon. Based on a patch by Tyler J. Wagner.
This commit is contained in:
parent
2134661ee7
commit
00d7e1da4a
4 changed files with 19 additions and 8 deletions
4
base.php
4
base.php
|
@ -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 ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue