Jeremy Newman : renamed and moved stop pages to the global config

Jeremy Newman jnewman at wine.codeweavers.com
Tue Jan 19 12:45:30 CST 2016


Module: website
Branch: master
Commit: 8ada05f658c093633df4e3c460499b838dfa3b95
URL:    http://source.winehq.org/git/website.git/?a=commit;h=8ada05f658c093633df4e3c460499b838dfa3b95

Author: Jeremy Newman <jnewman at codeweavers.com>
Date:   Tue Jan 12 16:12:45 2016 -0600

renamed and moved stop pages to the global config

---

 include/{data.php => whq_data.php} | 20 ++------------------
 1 file changed, 2 insertions(+), 18 deletions(-)

diff --git a/include/data.php b/include/whq_data.php
similarity index 84%
rename from include/data.php
rename to include/whq_data.php
index b549ed2..b580b81 100644
--- a/include/data.php
+++ b/include/whq_data.php
@@ -4,32 +4,16 @@
   WineHQ
   misc data class
   by Jeremy Newman <jnewman at codeweavers.com>
-*/  
+*/
 
-/*
- * data class - misc global hard data
- */
-
-class data
+class whq_data
 {
     // defines
-    public $stop_page;
     public $languages;
 
     // constuctor
     public function __construct ()
     {
-        // plugin stop pages
-        // add the template path here to make anything after the path in the URL
-        // be stored in the static PAGE_PARAMS
-        $this->stop_page = array(
-                                 'announce',
-                                 'interview',
-                                 'lang',
-                                 'news',
-                                 'wwn'
-                                );
-
         // available languages
         $this->languages = array(
                                  'en' => array(




More information about the wine-cvs mailing list