switching to a parse_ini_file instead of requiring full the base.php file for defining $config.

This commit is contained in:
Adnan ELARAJI 2024-12-13 17:42:10 +01:00
parent 9bdc9f1b5a
commit 7ac946e0a1
No known key found for this signature in database

View file

@ -5,7 +5,7 @@
// Set path to your mentions twtxt file:
//$logfile = './mentions.txt'; /* Make sure file is writeable */
require_once("partials/base.php");
$config = parse_ini_file('private/config.ini');
$logfile = $config['webmentions_txt_path'];