19 lines
674 B
PHP
Executable File
19 lines
674 B
PHP
Executable File
<?php
|
|
$auth=false;
|
|
|
|
// -----------------------------------------------------
|
|
// On est en Prod,
|
|
// -----------------------------------------------------
|
|
$trouve=false;
|
|
include ($includePathConf. "/prod.dbConnect.php");
|
|
|
|
// -----------------------------------------------------
|
|
// On verifie si le site est publiable
|
|
// -----------------------------------------------------
|
|
$result = dynRequete_select('SELECT', 'authTable', ['auth'], [], '', 'reqSelectAuthFromAdmin.php', 0, $debug[2], '');
|
|
if ($result) {
|
|
$auth=$result[0]['auth'];
|
|
}
|
|
if (isset($debug[1]) && $debug[1] == '1' ) { $debugMsg .= monDebug(1, ['auth' => $auth], '');}
|
|
$_SESSION['auth']=$auth;
|
|
?>
|