浏览代码

Closing mysqli db connections at the end of execution is unnecessary since its closed by php automatically there anyways

ohartl 9 年之前
父节点
当前提交
f6952b44fd
共有 2 个文件被更改,包括 0 次插入10 次删除
  1. 0 7
      include/php/db_close.inc.php
  2. 0 3
      index.php

+ 0 - 7
include/php/db_close.inc.php

@@ -1,7 +0,0 @@
-<?php
-/*
- * Free resources
- */
-
-$db->close();
-?>

+ 0 - 3
index.php

@@ -130,7 +130,4 @@ include load_page($path);
  */
 
 require_once 'include/php/template/footer.php';
-include_once 'include/php/db_close.inc.php';
-?>
-