From c8450c9cc650868a2395d3f5e6c40c422d3fc8ce Mon Sep 17 00:00:00 2001 From: Conrad Zelck <git@simpel.cc> Date: Sun, 8 Oct 2023 19:33:29 +0200 Subject: [PATCH] docs: tell in README to remove 2 lines of code Open index.php and remove two lines. Because those embed my personal website header and you don't have this code. First remove in <head>: <?php include dirname($_SERVER['DOCUMENT_ROOT']) . "/simpel.cc/php/head.php"; ?> Second remove in <header>: <?php include dirname($_SERVER['DOCUMENT_ROOT']) . "/simpel.cc/php/header.php"; ?> Signed-off-by: Conrad Zelck <git@simpel.cc> --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 60c55ee..77cff4d 100644 --- a/README.md +++ b/README.md @@ -279,6 +279,20 @@ define('PATH', '/Users/me/.pandoc/bin/:/Users/me/context/tex/texmf-osx-arm64/bin It sets the value of the servers environment variable `PATH`. +Then open `index.php` and remove two lines. Because those embed my personal website header and you don't have this code. + +First remove in `<head>`: + +``` +<?php include dirname($_SERVER['DOCUMENT_ROOT']) . "/simpel.cc/php/head.php"; ?> +``` + +Second remove in `<header>`: + +``` +<?php include dirname($_SERVER['DOCUMENT_ROOT']) . "/simpel.cc/php/header.php"; ?> +``` + ## Links - [Pandoc](https://pandoc.org) -- GitLab