Commit
This commit is contained in:
		
							parent
							
								
									326b09893a
								
							
						
					
					
						commit
						79893ba3dd
					
				| @ -32,7 +32,6 @@ class Database | ||||
|         $dsn = "mysql:host={$args['host']};dbname={$args['database']};charset={$args['charset']}"; | ||||
|         $options = [ | ||||
|             PDO::ATTR_PERSISTENT => true, | ||||
|             PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION // in PHP 8 and above, this will be the default mode.
 | ||||
|         ]; | ||||
|         return new PDO($dsn, $args['user'], $args['password'], $options); | ||||
|     } | ||||
|  | ||||
| @ -48,7 +48,7 @@ class ErrorHandler | ||||
|         body { | ||||
|             margin: 1rem; | ||||
|             background: tomato; | ||||
|             font-family: sans; | ||||
|             font-family: sans-serif; | ||||
|         } | ||||
|         #error {
 | ||||
|             padding: 1rem; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user