Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Fatal error: Class 'PDO' not found in /home/itstec2/public_html/pard_config/class/Config.php on line 13
- <?php
- $dbhost=null;
- $dbname=null;
- $dbuser=null;
- $dbpass=null;
- $file = __DIR__ ."/config.json";
- $array = file_get_contents($file);
- $dbConfig=json_decode($array);
- $pardConfig=new PDO('mysql:host='.$dbConfig[0].';'.'dbname='.$dbConfig[1],$dbConfig[2],$dbConfig[3]);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement