1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00

update wwbnindex path for security

This commit is contained in:
Julius 2024-04-24 17:08:32 +00:00
parent c0dafc7855
commit acfb1e6bcd

View file

@ -3,7 +3,8 @@ ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
require_once ($_POST['systemRootPath'] . "plugin/WWBNIndex/WWBNIndex.php");
$systemRootPath = __DIR__ . DIRECTORY_SEPARATOR . '../../';
require_once ($systemRootPath . "plugin/WWBNIndex/WWBNIndex.php");
$wwbnIndex = new WWBNIndex();
// if (!_mysql_is_open()) {