diff --git a/assets/img/com_photo/full_q/Capture d'écran_20230118_202400.png b/assets/img/com_photo/full_q/Capture d'écran_20230118_202400.png new file mode 100644 index 0000000..6a6e0a1 Binary files /dev/null and b/assets/img/com_photo/full_q/Capture d'écran_20230118_202400.png differ diff --git a/assets/img/com_photo/thumbs/Capture d'écran_20230118_202400.png b/assets/img/com_photo/thumbs/Capture d'écran_20230118_202400.png new file mode 100644 index 0000000..32586d5 Binary files /dev/null and b/assets/img/com_photo/thumbs/Capture d'écran_20230118_202400.png differ diff --git a/photos.php b/photos.php index 2adce37..db0a03e 100644 --- a/photos.php +++ b/photos.php @@ -4,7 +4,8 @@ ob_start(); // Start reading html //header('Location: construction.php'); define("urlParam", "path"); -define("photoRoot", "photos_folders/photos"); +define("photoRoot", "assets/img/com_photo/thumbs"); +define("photoRootHQ", "assets/img/com_photo/full_q"); /** * Get active path from url and prevent from seeing folders before 'photos/' @@ -106,8 +107,8 @@ function createDirectories($path) */ function createPhotos($path_in) { - $path = photoRoot . "_thumb" . $path_in; - $path_no_thumb = photoRoot . $path_in; + $path = photoRoot . $path_in; + $path_no_thumb = photoRootHQ . $path_in; $files = scandir($path); $displayedItems = 0; foreach ($files as $key => $value) { @@ -247,7 +248,6 @@ function generatePath($path) } - //CAS require_once("phpCAS-1.3.6/CAS.php"); @@ -262,6 +262,8 @@ if (isset($_REQUEST['logout'])) { phpCAS::logout(); } ?> + +