| | |
| | | * (only the first time!) |
| | | */ |
| | | if (($section == 'domains') && |
| | | ($_SESSION['use_domain_module_old_value'] == '') && |
| | | ($_SESSION['use_domain_module_old_value'] == '' || $_SESSION['use_domain_module_old_value'] == 'n') && |
| | | ($server_config_array['domains']['use_domain_module'] == 'y')){ |
| | | $sql = "REPLACE INTO domain (sys_userid, sys_groupid, sys_perm_user, sys_perm_group, sys_perm_other, domain ) " . |
| | | "SELECT sys_userid, sys_groupid, sys_perm_user, sys_perm_group, sys_perm_other, domain " . |
| | |
| | | $data = file_get_contents($path); |
| | | $base64 = 'data:image/' . $type . ';base64,' . base64_encode($data); |
| | | $app->db->query("UPDATE sys_ini SET custom_logo = ? WHERE sysini_id = ?", $base64, $this->id); |
| | | } |
| | | */ |
| | | }*/ |
| | | |
| | | // Maintenance mode |
| | | if($server_config_array['misc']['maintenance_mode'] == 'y'){ |