allow themes to override this function
This commit is contained in:
parent
30ee7f4129
commit
39f7688888
@ -167,7 +167,7 @@ class Page {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private function add_auto_headers() {
|
protected function add_auto_headers() {
|
||||||
$data_href = get_base_href();
|
$data_href = get_base_href();
|
||||||
foreach(glob("lib/*.js") as $js) {
|
foreach(glob("lib/*.js") as $js) {
|
||||||
$this->add_header("<script src='$data_href/$js' type='text/javascript'></script>");
|
$this->add_header("<script src='$data_href/$js' type='text/javascript'></script>");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user