Prechádzať zdrojové kódy

require the global functions.php file for str_ends_with

Tim Fry 5 mesiacov pred
rodič
commit
d6e78b22c1
1 zmenil súbory, kde vykonal 3 pridanie a 0 odobranie
  1. 3 0
      resources/service/maintenance_service

+ 3 - 0
resources/service/maintenance_service

@@ -31,6 +31,9 @@
 require_once dirname(__DIR__, 4) . '/resources/classes/auto_loader.php';
 new auto_loader();
 
+//require the global functions
+require_once dirname(__DIR__, 4) . '/resources/functions.php';
+
 try {
 	$maintenance = maintenance_service::create();
 	exit($maintenance->run());