From 55d5b43ca6714fb5e03188edb79564f122275a7d Mon Sep 17 00:00:00 2001 From: gravel Date: Sun, 22 Jan 2023 19:48:49 +0100 Subject: [PATCH] Move common to component --- sites/+components/page-head.php | 2 ++ sites/index.php | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 sites/+components/page-head.php diff --git a/sites/+components/page-head.php b/sites/+components/page-head.php new file mode 100644 index 00000000..d5bde1f1 --- /dev/null +++ b/sites/+components/page-head.php @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/sites/index.php b/sites/index.php index 3d58e78d..701ac1a3 100644 --- a/sites/index.php +++ b/sites/index.php @@ -2,7 +2,7 @@ // prerequisite include for sites and components require_once "+getenv.php"; require_once "$PROJECT_ROOT/php/utils/server-utils.php"; - + $rooms_raw = file_get_contents($ROOMS_FILE); $rooms = json_decode($rooms_raw); $rooms_assoc = json_decode($rooms_raw, true); @@ -11,8 +11,8 @@ - - + + Self-updating list of active Session communities