Update the database class to find the require.php

This commit is contained in:
markjcrane
2023-06-17 22:29:15 -06:00
parent 38150d25aa
commit 1452bde1ac
2 changed files with 26 additions and 17 deletions

View File

@@ -102,7 +102,7 @@
require_once "resources/php.php";
require_once "resources/functions.php";
if (is_array($conf) && count($conf) > 0) {
require "resources/pdo.php";
require_once "resources/pdo.php";
require_once "resources/cidr.php";
if (file_exists($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/resources/switch.php")) {
require_once "resources/switch.php";