]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/helper/web/class_BaseWebHelper.php
More game classes added:
[shipsimu.git] / inc / classes / main / helper / web / class_BaseWebHelper.php
index e3030f7612a156e4fc47fb4c1fcf61772c1e06fe..19b5be3d85f46a04222ecec06db4552e9b948702 100644 (file)
@@ -183,6 +183,17 @@ class BaseWebHelper extends BaseHelper {
                $isUnconfirmed = ($this->getValueField(UserDatabaseWrapper::DB_COLUMN_USER_STATUS) === $this->getConfigInstance()->readConfig('user_status_guest'));
                return $isUnconfirmed;
        }
+
+       /**
+        * Checks wether the refill page is active which should be not the default
+        * on non-web applications.
+        *
+        * @return      $refillActive   Wether the refill page is active
+        */
+       public function ifRefillPageActive () {
+               $refillActive = ($this->getConfigInstance()->readConfig('refill_page_active') === "Y");
+               return $refillActive;
+       }
 }
 
 // [EOF]