Jeremy Newman : update object

Jeremy Newman jnewman at winehq.org
Thu Apr 12 14:53:42 CDT 2012


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

Author: Jeremy Newman <jnewman at codeweavers.com>
Date:   Thu Apr 12 14:25:54 2012 -0500

update object

---

 include/data.php |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/include/data.php b/include/data.php
index 0c4dea8..15b3796 100644
--- a/include/data.php
+++ b/include/data.php
@@ -12,9 +12,13 @@
 
 class data
 {
-    // create shopping cart object
-    function 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
@@ -61,8 +65,6 @@ class data
                                                'change' => 'Lisan Değiştir'
                                               )
                                 );
-
-        return;
     }
 }
 ?>




More information about the wine-cvs mailing list