Jake Vanderwerf
2026-09-06 3e4e3db64b366028845cfd610c5b17f26bd062ee
checks.php
@@ -1,6 +1,6 @@
<?php
use JVBase\base\Options;
use JVBase\base\options;
use JVBase\base\Site;
use JVBase\managers\Cache;
use JVBase\registrar\Registrar;
@@ -25,10 +25,10 @@
   if (!Site::has('limit_hours')) {
      return true;
   }
   if (Options::get('open_to_public') !== '1') {
   if ( options::get('open_to_public') !== '1') {
      return false;
   }
   if (!empty(Options::get('today_hours'))) {
   if (!empty(options::get('today_hours'))) {
      return jvbIsTimeBetween();
   }
   return jvbIsCurrentlyOpen();