sqlite3 returns integers as ints

This commit is contained in:
Latif Khalifa
2013-09-22 23:42:39 +02:00
parent b7f32bc5ee
commit 8d239c6fd1
2 changed files with 9 additions and 2 deletions

View File

@@ -82,6 +82,13 @@ if (!$DB->connect($DB_NAME, $DB_HOST, $DB_USER, $DB_PASS)) {
*/
/*
if (PHP_SAPI != "cli") {
header('Expires: '.gmdate('D, d M Y H:i:s \G\M\T', time() + 600));
header('Cache-Control: max-age=' . (4 * 3600));
}
*/
/* Prevent XSS attacks via PHP_SELF */
$_SERVER['PHP_SELF'] = htmlspecialchars($_SERVER['PHP_SELF']);