From 75fc4a562ad702a47fcd8c45c851ee8f22f498cc Mon Sep 17 00:00:00 2001 From: Sorata-Senpai Date: Wed, 25 Nov 2020 04:22:12 +0100 Subject: [PATCH] cfg path --- pastebin/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pastebin/index.php b/pastebin/index.php index a6d7cdf..8d10baa 100644 --- a/pastebin/index.php +++ b/pastebin/index.php @@ -11,7 +11,8 @@ */ // change this, if your php files and data is outside of your webservers document root -define('PATH', ''); +putenv('CONFIG_PATH=/var/www/html/aki/Website/pastebin/cfg/conf.php'); +define('PATH', '/var/www/html/aki/Website/pastebin/'); define('PUBLIC_PATH', __DIR__); require PATH . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php';