Created
January 20, 2015 20:27
-
-
Save AndrianD/3450d8be5640127e735d to your computer and use it in GitHub Desktop.
Config
This file contains hidden or 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 | |
| // ___ __ __ ____ ____ ___ __ __ _ ____ __ ___ | |
| // / __)( ) / _\ / ___)/ ___) / __)/ \ ( ( \( __)( )/ __) | |
| // ( (__ / (_/\/ \\___ \\___ \ ( (__( O )/ / ) _) )(( (_ \ | |
| // \___)\____/\_/\_/(____/(____/ \___)\__/ \_)__)(__) (__)\___/ | |
| // CLASS | |
| class ConfigPDO | |
| { | |
| protected $parameter; | |
| public function __construct() | |
| { | |
| global $parameters; | |
| require_once('parameters.php'); | |
| $this->parameter = $parameters; | |
| } | |
| public function getParametersConnect() | |
| { | |
| return $this->parameter['connect']; | |
| } | |
| } | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment