Files
MokoCLI/templates/security/index.php
T
Jonathan Miller 925dfc41e2
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 16s
chore: complete namespace cleanup — remove all mokoplatform/MokoStandards/MokoEnterprise refs
Sweep 391 files across templates, workflows, MCP servers, CLI tools,
lib, deploy, validate, wrappers, configs, and docs. All references to
mokoplatform, moko-platform, MokoStandards, MokoStandards-API, and
MokoEnterprise replaced with mokocli/MokoCli. Also renamed
moko-platform.sublime-project → mokocli.sublime-project and fixed
composer.json description.
2026-06-21 00:43:06 -05:00

33 lines
1.1 KiB
PHP

<?php
/* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
*
* This file is part of a Moko Consulting project.
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
* FILE INFORMATION
* DEFGROUP: MokoPlatform.Templates.Security
* INGROUP: MokoPlatform.Templates
* REPO: https://git.mokoconsulting.tech/MokoConsulting/mokocli
* PATH: /templates/security/index.php
* BRIEF: Directory listing prevention script
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
// Prevent directory listing - redirect to repository root
header('Location: /');
exit;
?>