-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreset.php
More file actions
39 lines (36 loc) · 854 Bytes
/
Copy pathreset.php
File metadata and controls
39 lines (36 loc) · 854 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
/**
* Project: PHP Gallery
* Repository: https://github.com/klusik/PHP_gallery
*
* File: reset.php
* Module Type: Setup Utility
*
* Purpose:
* Provides setup, installation, or recovery functionality for PHP Gallery.
*
* Responsibilities:
* - Guide setup or recovery workflow
* - Validate configuration before writing changes
* - Avoid exposing sensitive details to public users
*
* Author:
* Rudolf Klusal
*
* Contact:
* https://github.com/klusik
*
* License:
* MIT License (see LICENSE file in repository)
*
* Notes:
* - Keep comments and docstrings intact when modifying this file.
* - Prefer small, readable changes over broad rewrites.
*
* Last Updated:
* 2026-05-04
*/
/* Simple reset script */
declare(strict_types=1);
$_GET['page'] = 'admin_reset';
require __DIR__ . '/public/index.php';