pdo
This commit is contained in:
		| @@ -2,7 +2,7 @@ | |||||||
| Arionum (ARO) cryptocurrency node | Arionum (ARO) cryptocurrency node | ||||||
|  |  | ||||||
|  |  | ||||||
| Requires php 7.2, mysql/mariadb and php-gmp | Requires php 7.2, mysql/mariadb, php-pdo and php-gmp | ||||||
|  |  | ||||||
| This app should only be run in the main directory of the domain/subdomain, ex: http://111.111.111.111/ | This app should only be run in the main directory of the domain/subdomain, ex: http://111.111.111.111/ | ||||||
|  |  | ||||||
|   | |||||||
| @@ -19,7 +19,7 @@ class db extends PDO { | |||||||
|                         parent::__construct($dsn, $user, $passwd, $options); |                         parent::__construct($dsn, $user, $passwd, $options); | ||||||
|                 } catch (PDOException $e) { |                 } catch (PDOException $e) { | ||||||
|                         $this->error = $e->getMessage(); |                         $this->error = $e->getMessage(); | ||||||
|                         die("Could not connect to the DB"); |                         die("Could not connect to the DB - ".$this->error); | ||||||
|                 } |                 } | ||||||
|         } |         } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Arionum
					Arionum