summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjokkedk <joakim@jokke.dk>2010-07-05 11:25:12 +0000
committerjokkedk <joakim@jokke.dk>2010-07-05 11:25:12 +0000
commit1f2ce8ffb30deab51f4df50b87d95091de3e9f67 (patch)
tree3d1b068bf5b1de36d026d69fbb1c83289f5cd839
parent696087050e210952c8e8ced6cff452986334f714 (diff)
downloadwebgrind-1f2ce8ffb30deab51f4df50b87d95091de3e9f67.zip
webgrind-1f2ce8ffb30deab51f4df50b87d95091de3e9f67.tar.gz
webgrind-1f2ce8ffb30deab51f4df50b87d95091de3e9f67.tar.bz2
[CHANGED] Moving version out of config.php
-rw-r--r--config.php4
-rw-r--r--index.php5
2 files changed, 6 insertions, 3 deletions
diff --git a/config.php b/config.php
index d12929a..c4ecdb3 100644
--- a/config.php
+++ b/config.php
@@ -5,7 +5,7 @@
* @author Jacob Oettinger
* @author Joakim Nygård
*/
-class Webgrind_Config{
+class Webgrind_Config extends Webgrind_MasterConfig {
/**
* Automatically check if a newer version of webgrind is available for download
*/
@@ -45,8 +45,6 @@ class Webgrind_Config{
# BELOW NOT FOR EDITING #
#########################
- static $webgrindVersion = '1.01';
-
/**
* Regex that matches the trace files generated by xdebug
*/
diff --git a/index.php b/index.php
index bf3d284..bae2f08 100644
--- a/index.php
+++ b/index.php
@@ -4,6 +4,11 @@
* @author Joakim Nygård
*/
+class Webgrind_MasterConfig
+{
+ static $webgrindVersion = '1.01';
+}
+
require 'config.php';
require 'library/FileHandler.php';