From ed4b62dc714461f4bd0fe64763bf53157d29063f Mon Sep 17 00:00:00 2001 From: Shish Date: Sun, 3 Jan 2010 09:41:31 +0000 Subject: [PATCH] make the version string ungooglable --- index.php | 2 +- themes/danbooru/layout.class.php | 3 +-- themes/default/layout.class.php | 3 +-- themes/futaba/layout.class.php | 3 +-- themes/old_default/layout.class.php | 3 +-- themes/warm/layout.class.php | 3 +-- 6 files changed, 6 insertions(+), 11 deletions(-) diff --git a/index.php b/index.php index c103af8d..8bbd3df8 100644 --- a/index.php +++ b/index.php @@ -55,8 +55,8 @@ define("DEBUG", true); define("COVERAGE", true); define("CACHE_MEMCACHE", false); define("CACHE_DIR", false); -define("SCORE_VERSION", 's2hack'); define("VERSION", 'trunk'); +define("SCORE_VERSION", 's2hack/'.VERSION); define("COOKIE_PREFIX", 'shm'); if(!file_exists("config.php")) { diff --git a/themes/danbooru/layout.class.php b/themes/danbooru/layout.class.php index af2aa468..066ff34a 100644 --- a/themes/danbooru/layout.class.php +++ b/themes/danbooru/layout.class.php @@ -50,7 +50,6 @@ class Layout { $base_href = $config->get_string('base_href'); $data_href = get_base_href(); $contact_link = $config->get_string('contact_link'); - $version = "Shimmie-".VERSION; $header_html = ""; @@ -203,7 +202,7 @@ $header_html