Database.php 334 B

12345678910111213141516171819
  1. <?php
  2. namespace Memcache_UI\Core {
  3. class Database {
  4. public $handle;
  5. public static function createSchema() {
  6. }
  7. public function __construct(Context $context) {
  8. try {
  9. $h = new PDO($dsn);
  10. }
  11. catch (PDOException $e) {
  12. echo 'Connection failed: ' . $e->getMessage();
  13. }
  14. }
  15. }
  16. }