Browse Source

Add an include to ensure the domains class exists.

Mark Crane 11 years ago
parent
commit
0a5475024d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      resources/check_auth.php

+ 1 - 0
resources/check_auth.php

@@ -237,6 +237,7 @@ require_once "resources/require.php";
 									$_SESSION["domain_uuid"] = $domain_uuid;
 									$_SESSION["domain_name"] = $_SESSION['domains'][$domain_uuid]['domain_name'];
 								//set the setting arrays
+									require_once "resources/classes/domains.php";
 									$domain = new domains();
 									$domain->db = $db;
 									$domain->set();