Update and rename route/database.extend.php to helper/database.alt.php

This commit is contained in:
Namhyeon Go 2018-09-10 15:20:10 +09:00 committed by GitHub
parent ba75ca77b0
commit ce6626d0e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,13 +1,13 @@
<?php <?php
/** /**
* @file database.extend.php * @file database.alt.php
* @date 2018-09-10 * @date 2018-09-10
* @author Go Namhyeon <gnh1201@gmail.com> * @author Go Namhyeon <gnh1201@gmail.com>
* @brief Database Connection Extender * @brief Database alternative connecter
*/ */
if(function_exists("get_db_extend_connect")) { if(function_exists("get_db_alt_connect")) {
function get_db_extend_connect($db_driver) { function get_db_alt_connect($db_driver) {
$conn = false; $conn = false;
switch($db_driver) { switch($db_driver) {