/trunk/index.php |
---|
26,6 → 26,11 |
require_once "lib/init.php"; |
$req =& $db->query("SELECT * FROM settings WHERE opt LIKE 'interface'"); |
if (PEAR::isError($req)) { |
echo "SQL ERROR!:<br />SQL: $query<br />ErrorMessage: " . $req->getMessage() . '<br />Details: ' . $req->getUserInfo() . "<br />\n"; |
} |
if ($req->numRows()>0) { |
$req->fetchInto($if, DB_FETCHMODE_ASSOC); |
$file = stripslashes($if["optvalue"]).".php"; |