From 39f7688888826594e9e2b4dc56c62bfcf166a6fe Mon Sep 17 00:00:00 2001
From: Shish <shish@shishnet.org>
Date: Mon, 24 Aug 2009 03:00:42 +0100
Subject: [PATCH] allow themes to override this function

---
 core/page.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/page.class.php b/core/page.class.php
index c491f32a..96c91a14 100644
--- a/core/page.class.php
+++ b/core/page.class.php
@@ -167,7 +167,7 @@ class Page {
 		}
 	}
 
-	private function add_auto_headers() {
+	protected function add_auto_headers() {
 		$data_href = get_base_href();
 		foreach(glob("lib/*.js") as $js) {
 			$this->add_header("<script src='$data_href/$js' type='text/javascript'></script>");