Parcourir la source

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

ohartl il y a 9 ans
Parent
commit
f6952b44fd
2 fichiers modifiés avec 0 ajouts et 10 suppressions
  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';
-?>
-