From acc4e45791530d8920b16ae8738f5dff90bdf2a5 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sat, 11 May 2013 04:54:45 +0000 Subject: [PATCH] Fix problem with domain class being redeclared. --- includes/checkauth.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/checkauth.php b/includes/checkauth.php index 9543352b87..141db21555 100644 --- a/includes/checkauth.php +++ b/includes/checkauth.php @@ -60,6 +60,7 @@ session_start(); } //set the domain information if (strlen($domain_name) > 0) { + require_once "includes/classes/domains.php"; foreach ($_SESSION['domains'] as &$row) { if ($row['domain_name'] == $domain_name) { //set the domain session variables @@ -70,8 +71,6 @@ session_start(); $_SESSION["domain_name"] = $domain_name; //set the setting arrays - //domains set() - require "includes/classes/domains.php"; $domain = new domains(); $domain->db = $db; $domain->set();