summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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';