if (isset($_SESSION['admin'])) { include "pages/$dossier/$page.php"; } else { //Production /*try { if (is_dir("pages/".$dossier)) { include "pages/$dossier/$page.php"; } else { include "erreur/code.php"; } } catch (Exception $e) { include "erreur/code.php"; }*/ //Developpement if (is_dir("pages/".$dossier)) { include "pages/$dossier/$page.php"; } else { include "erreur/code.php"; } } } $content = ob_get_clean(); if (is_file("pages/templates/".$dossier.".php")) { include "pages/templates/$dossier.php"; } else { include "pages/templates/default.php"; } die(); ?>
"include(pages/home/emploi.php): failed to open stream: No such file or directory"
if (isset($_SESSION['admin'])) { include "pages/$dossier/$page.php"; } else { //Production /*try { if (is_dir("pages/".$dossier)) { include "pages/$dossier/$page.php"; } else { include "erreur/code.php"; } } catch (Exception $e) { include "erreur/code.php"; }*/ //Developpement if (is_dir("pages/".$dossier)) { include "pages/$dossier/$page.php"; } else { include "erreur/code.php"; } } } $content = ob_get_clean(); if (is_file("pages/templates/".$dossier.".php")) { include "pages/templates/$dossier.php"; } else { include "pages/templates/default.php"; } die(); ?>
<?php require 'public/index.php'; ?>
"/var/www/clients/client1/web28/web/ariane.oceane-pro.fr/public/index.php"
Key | Value |
home | "emploi"
|
stage | "ariane"
|
Key | Value |
root | "/var/www/clients/client1/web28/web/ariane.oceane-pro.fr"
|
Key | Value |
PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
TEMP | "/var/www/clients/client1/web28/tmp"
|
TMPDIR | "/var/www/clients/client1/web28/tmp"
|
TMP | "/var/www/clients/client1/web28/tmp"
|
HOSTNAME | "" |
USER | "web28"
|
HOME | "/var/www/clients/client1/web28"
|
SCRIPT_NAME | "/index.php"
|
REQUEST_URI | "/?home=emploi&stage=ariane"
|
QUERY_STRING | "home=emploi&stage=ariane"
|
REQUEST_METHOD | "GET"
|
SERVER_PROTOCOL | "HTTP/2.0"
|
GATEWAY_INTERFACE | "CGI/1.1"
|
REMOTE_PORT | "46460"
|
SCRIPT_FILENAME | "/var/www/clients/client1/web28/web/ariane.oceane-pro.fr/index.php"
|
SERVER_ADMIN | "webmaster@oceane-pro.fr"
|
CONTEXT_DOCUMENT_ROOT | "/var/www/clients/client1/web28/web"
|
CONTEXT_PREFIX | "" |
REQUEST_SCHEME | "https"
|
DOCUMENT_ROOT | "/var/www/clients/client1/web28/web"
|
REMOTE_ADDR | "54.224.70.148"
|
SERVER_PORT | "443"
|
SERVER_ADDR | "192.162.69.119"
|
SERVER_NAME | "ariane-bg.fr"
|
SERVER_SOFTWARE | "Apache"
|
SERVER_SIGNATURE | "" |
HTTP_HOST | "ariane-bg.fr"
|
HTTP_REFERER | "http://ariane-bg.com/?home=emploi&stage=ariane"
|
HTTP_USER_AGENT | "claudebot"
|
HTTP_ACCEPT | "*/*"
|
proxy-nokeepalive | "1"
|
SSL_TLS_SNI | "ariane-bg.fr"
|
HTTPS | "on"
|
H2_STREAM_TAG | "828059-1880-3"
|
H2_STREAM_ID | "3"
|
H2_PUSHED_ON | "" |
H2_PUSHED | "" |
H2_PUSH | "off"
|
H2PUSH | "off"
|
HTTP2 | "on"
|
SCRIPT_URI | "https://ariane-bg.fr/"
|
SCRIPT_URL | "/"
|
FCGI_ROLE | "RESPONDER"
|
PHP_SELF | "/index.php"
|
REQUEST_TIME_FLOAT | 1711726700.7961
|
REQUEST_TIME | 1711726700
|