1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
PHP_TP4/controllers/c_photo.php
2020-10-27 22:38:13 +01:00

13 lines
253 B
PHP

<?php
$photo = false;
if (isset($_GET["id"]) and $_GET["id"]) {
$id = htmlspecialchars($_GET["id"]);
require_once(PATH_MODELS . $page . ".php");
}
if (!$photo)
$alert = choixAlert("invalid_photo");
require_once(PATH_VIEWS.$page.'.php');