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

14 lines
253 B
PHP
Raw Permalink Normal View History

2020-10-27 21:58:56 +01:00
<?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');