old work
This commit is contained in:
		
							
								
								
									
										6
									
								
								connect.php
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										6
									
								
								connect.php
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							| @ -4,7 +4,7 @@ try { | ||||
|     $db = new PDO("mysql:host=$DB_HOST;dbname=$DB_NAME", $DB_USER, $DB_PASSWORD); | ||||
|     $db->setAttribute(PDO::ATTR_EMULATE_PREPARES, false); | ||||
|     $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); | ||||
| } catch(Exception $e) { | ||||
|     header("Location: 500.php"); | ||||
| } catch (Exception $e) { | ||||
|     //header("Location: 500.php"); | ||||
|     die($e); | ||||
| } | ||||
| ?> | ||||
		Reference in New Issue
	
	Block a user