Using “require” without parentheses is better :-)
This commit is contained in:
parent
de0d67c1cf
commit
d3211162fe
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
require(__DIR__.'/getiniarr.php');
|
||||
require __DIR__.'/getiniarr.php';
|
||||
|
||||
$link=mysqli_connect($iniarr['db_host'],$iniarr['db_admin_name'],$iniarr['db_admin_password'],$iniarr['db_name'],$iniarr['db_port'],$iniarr['db_socket'])
|
||||
or muoribene('Couldn’t connect to database: '.mysqli_connect_error().' ['.mysqli_connect_errno().']',false);
|
||||
|
|
Loading…
Reference in a new issue