summaryrefslogtreecommitdiff
path: root/src/web/index.php
diff options
context:
space:
mode:
authorfreya <Freya Murphy>2024-09-25 16:25:50 +0000
committerfreya <Freya Murphy>2024-09-25 16:25:50 +0000
commitb792dca23be8806a17f7734133d11814d29bb980 (patch)
tree6bc07e08ea41d2cf526d1decc13987d311aff63e /src/web/index.php
parentgive https urls if in a https context (diff)
downloadwebsite-b792dca23be8806a17f7734133d11814d29bb980.tar.gz
website-b792dca23be8806a17f7734133d11814d29bb980.tar.bz2
website-b792dca23be8806a17f7734133d11814d29bb980.zip
use asse_stamp for get_url
Diffstat (limited to 'src/web/index.php')
-rw-r--r--src/web/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/index.php b/src/web/index.php
index bc9eeff..63e5b61 100644
--- a/src/web/index.php
+++ b/src/web/index.php
@@ -18,7 +18,7 @@ define('ENVIRONMENT', 'devlopment');
// FOLDER_ROOT
//
// define folder directiroy paths based on this file
-define('PHP_ROOT', dirname(__FILE__) . '/..');
+define('PHP_ROOT', realpath(dirname(__FILE__) . '/..'));
define('WEB_ROOT', PHP_ROOT . '/web');
define('ASSET_ROOT', PHP_ROOT . '/assets');
define('PUBLIC_ROOT', PHP_ROOT . '/public');