diff --git a/functions/db.php b/functions/db.php index 5529adb..fc7baf1 100644 --- a/functions/db.php +++ b/functions/db.php @@ -1,7 +1,7 @@ safeLoad(); // Use environment variables for the database password and IP address. diff --git a/functions/init.php b/functions/init.php index b89ed64..3c556b7 100644 --- a/functions/init.php +++ b/functions/init.php @@ -3,7 +3,7 @@ session_start(); header("Content-Security-Policy: default-src 'self' localhost:*; font-src 'self' https://www.nerdfonts.com/assets/fonts/Symbols-2048-em%20Nerd%20Font%20Complete.woff2; style-src 'self' 'unsafe-inline' https://nerdfonts.com/assets/css/webfont.css https://www.nerdfonts.com/assets/css/webfont.css; script-src 'self' 'unsafe-inline'; img-src 'self';"); require_once 'functions/vendor/autoload.php'; -$dotenv = Dotenv\Dotenv::createImmutable('/home/jashton/dev/me/weave.space/.env'); +$dotenv = Dotenv\Dotenv::createImmutable('/home/prod/vintagecoding.net/'); $dotenv->safeLoad(); require_once 'functions/db.php'; diff --git a/js/old/clickable_rows.js b/js/clickable_rows.js similarity index 100% rename from js/old/clickable_rows.js rename to js/clickable_rows.js diff --git a/js/old/md_preview.js b/js/md_preview.js similarity index 100% rename from js/old/md_preview.js rename to js/md_preview.js diff --git a/js/old/profile_picture_cropper_modal.js b/js/profile_picture_cropper_modal.js similarity index 100% rename from js/old/profile_picture_cropper_modal.js rename to js/profile_picture_cropper_modal.js diff --git a/js/old/todo.js b/js/todo.js similarity index 100% rename from js/old/todo.js rename to js/todo.js diff --git a/js/old/upload.js b/js/upload.js similarity index 100% rename from js/old/upload.js rename to js/upload.js diff --git a/js/old/user_actions_modal.js b/js/user_actions_modal.js similarity index 100% rename from js/old/user_actions_modal.js rename to js/user_actions_modal.js diff --git a/spaces.php b/spaces.php index ed6edaa..8712ef9 100644 --- a/spaces.php +++ b/spaces.php @@ -124,7 +124,7 @@ function displayEssay(Essay $e) $parsedown->setSafeMode(true); $html = ' -
+
' . $parsedown->parse($e->getMarkdown()) . '
'; @@ -137,7 +137,7 @@ function displaySpaceList() $user = unserialize($_SESSION['user']); $html = ' -
+

Spaces

@@ -160,7 +160,7 @@ function displaySpace($id = 2025) $space = Space::retrieveFromDB($id); if ($space) { $html = ' -
+

' . $space->getName() . '

' . $space->getDescription() . '