Add robots.txt
Rename for case sensitive Optimize search engine Remove useless options htaccess Add Modal Add delete, add contact
This commit is contained in:
@@ -8,16 +8,16 @@ use PDO;
|
||||
class BDD {
|
||||
|
||||
// Server BDD
|
||||
// const SQL_SERVER = 'sql.sanchez-mathieu.fr'; // BDD Server
|
||||
// const SQL_LOGIN = 'why7n0_contact'; // BDD Login
|
||||
// const SQL_PASSWORD = 'fC3c87Gy'; // BDD Password
|
||||
// const SQL_DB = 'why7n0_contact'; // BDD Name
|
||||
const SQL_SERVER = 'sql.sanchez-mathieu.fr'; // BDD Server
|
||||
const SQL_LOGIN = 'why7n0_contact'; // BDD Login
|
||||
const SQL_PASSWORD = 'fC3c87Gy'; // BDD Password
|
||||
const SQL_DB = 'why7n0_contact'; // BDD Name
|
||||
|
||||
// Local BDD
|
||||
const SQL_SERVER = 'localhost'; // BDD Server
|
||||
const SQL_LOGIN = 'root'; // BDD Login
|
||||
const SQL_PASSWORD = ''; // BDD Password
|
||||
const SQL_DB = 'contact'; // BDD Name
|
||||
// const SQL_SERVER = 'localhost'; // BDD Server
|
||||
// const SQL_LOGIN = 'root'; // BDD Login
|
||||
// const SQL_PASSWORD = ''; // BDD Password
|
||||
// const SQL_DB = 'contact'; // BDD Name
|
||||
|
||||
private static $bdd;
|
||||
|
||||
|
@@ -93,7 +93,7 @@ class Contact {
|
||||
$lastKey = endKey( $words );
|
||||
foreach ( $words as $key => $word ) {
|
||||
$normal = self::getQuerySearch( $word, [ "first_name", "last_name", "surname" ] );;
|
||||
$hard = self::getQuerySearch( $word, [ "email", "address", "phone_number" ] );
|
||||
$hard = self::getQuerySearch( $word, [ "email", "address", "phone_number", "birthday" ] );
|
||||
$q1 .= $normal;
|
||||
$q2 .= $normal;
|
||||
$q3 .= $hard;
|
||||
|
Reference in New Issue
Block a user