Created
November 8, 2017 03:08
-
-
Save galihazizif/d26d49e8f2f60b52dbe4c37dc197aab2 to your computer and use it in GitHub Desktop.
bukutamu/config.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$config = [ | |
'db' => [ | |
'username' => 'masukan_username_mysql_disini', | |
'password' => 'masukan_password_mysql_disini', | |
'dsn' => 'mysql:host=localhost;dbname=bukutamu' | |
], | |
]; | |
class Helper{ | |
public static function redirect($url){ | |
echo '<meta http-equiv="Refresh" content="0; url='.urlencode($url).'" />'; | |
exit(); | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment