Skip to content

Instantly share code, notes, and snippets.

@AndrianD
Created January 20, 2015 20:27
Show Gist options
  • Select an option

  • Save AndrianD/3450d8be5640127e735d to your computer and use it in GitHub Desktop.

Select an option

Save AndrianD/3450d8be5640127e735d to your computer and use it in GitHub Desktop.
Config
<?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