From 69563a449c8adde00de4d90395e94ac794aed625 Mon Sep 17 00:00:00 2001 From: SPT-dev Date: Thu, 2 Mar 2023 21:10:14 -0500 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';