diff --git a/conlite/includes/startup.php b/conlite/includes/startup.php index 5eca71e..659525c 100644 --- a/conlite/includes/startup.php +++ b/conlite/includes/startup.php @@ -211,7 +211,7 @@ if (!isset($encoding) || !is_array($encoding) || count($encoding) == 0) { $encoding = array(); $sql = "SELECT idlang, encoding FROM " . $cfg["tab"]["lang"]; $db->query($sql); - while ($db->next_record()) { + while ($db->nextRecord()) { $encoding[$db->f('idlang')] = $db->f('encoding'); } } @@ -220,5 +220,4 @@ if($cfg['debug']['sendnocacheheader']) { header("Cache-Control: no-cache, no-store, must-revalidate"); // HTTP 1.1. header("Pragma: no-cache"); // HTTP 1.0. header("Expires: 0"); // Proxies. -} -?> +} \ No newline at end of file