From 48ae6b2a4013d1d01eacfe4f4a95ea6b9132419d Mon Sep 17 00:00:00 2001 From: Sky Johnson Date: Fri, 13 Dec 2024 15:38:54 -0600 Subject: [PATCH] Move "actions" to their own dir --- public/index.php | 10 +++++----- src/{ => actions}/fight.php | 0 src/{ => actions}/forum.php | 0 src/{ => actions}/help.php | 0 src/{ => actions}/towns.php | 0 src/{ => actions}/users.php | 0 6 files changed, 5 insertions(+), 5 deletions(-) rename src/{ => actions}/fight.php (100%) rename src/{ => actions}/forum.php (100%) rename src/{ => actions}/help.php (100%) rename src/{ => actions}/towns.php (100%) rename src/{ => actions}/users.php (100%) diff --git a/public/index.php b/public/index.php index 591be36..8210b13 100644 --- a/public/index.php +++ b/public/index.php @@ -4,13 +4,13 @@ require_once '../src/lib.php'; require_once '../src/router.php'; -require_once '../src/users.php'; -require_once '../src/help.php'; -require_once '../src/towns.php'; require_once '../src/explore.php'; -require_once '../src/fight.php'; require_once '../src/heal.php'; -require_once '../src/forum.php'; +require_once '../src/actions/users.php'; +require_once '../src/actions/help.php'; +require_once '../src/actions/towns.php'; +require_once '../src/actions/fight.php'; +require_once '../src/actions/forum.php'; if (!file_exists('../.installed')) redirect('install.php'); diff --git a/src/fight.php b/src/actions/fight.php similarity index 100% rename from src/fight.php rename to src/actions/fight.php diff --git a/src/forum.php b/src/actions/forum.php similarity index 100% rename from src/forum.php rename to src/actions/forum.php diff --git a/src/help.php b/src/actions/help.php similarity index 100% rename from src/help.php rename to src/actions/help.php diff --git a/src/towns.php b/src/actions/towns.php similarity index 100% rename from src/towns.php rename to src/actions/towns.php diff --git a/src/users.php b/src/actions/users.php similarity index 100% rename from src/users.php rename to src/actions/users.php