diff --git a/footer.php b/footer.php index 2b1838d..f51411c 100644 --- a/footer.php +++ b/footer.php @@ -3,7 +3,7 @@
ECDSA fingerprint: SHA256:R3qNfKIF3IiXhKCbFX6rCKl73yzexi9Wodsow6XFres
site source — - ">page source + ">page sourcedonate diff --git a/index.php b/index.php index ba470b1..fbc3a5e 100755 --- a/index.php +++ b/index.php @@ -1,6 +1,5 @@ getRealPath(); +$filepath = __FILE__; include 'header.php'; require __DIR__.'/vendor/autoload.php'; $parser = Tildeverse\Wiki\Parser::factory(); diff --git a/news/index.php b/news/index.php index 42122bb..b41c0c6 100644 --- a/news/index.php +++ b/news/index.php @@ -1,6 +1,5 @@ getRealPath(); +$filepath = __FILE__; require __DIR__.'/../vendor/autoload.php'; $additional_head = " diff --git a/signup/index.php b/signup/index.php index b829e82..59b10f8 100644 --- a/signup/index.php +++ b/signup/index.php @@ -1,6 +1,5 @@ getRealPath(); +$filepath = __FILE__; include __DIR__.'/../header.php'; ?> diff --git a/signup/signup-handler.php b/signup/signup-handler.php index b51b038..ad17f8d 100644 --- a/signup/signup-handler.php +++ b/signup/signup-handler.php @@ -1,6 +1,5 @@ getRealPath(); +$filepath = __FILE__; require __DIR__.'/../vendor/autoload.php'; require_once "email/smtp.php"; diff --git a/users/index.php b/users/index.php index d09c24b..b832ab0 100644 --- a/users/index.php +++ b/users/index.php @@ -1,6 +1,5 @@ getRealPath(); +$filepath = __FILE__; include __DIR__.'/../header.php'; $online_users = shell_exec("online-users"); diff --git a/wiki/index.php b/wiki/index.php index 5ba12a2..7aaf108 100644 --- a/wiki/index.php +++ b/wiki/index.php @@ -1,6 +1,5 @@ getRealPath(); +$filepath = __FILE__; require __DIR__.'/../vendor/autoload.php'; $additional_head = "