mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
update wwbnindex path for security
This commit is contained in:
parent
c0dafc7855
commit
acfb1e6bcd
1 changed files with 2 additions and 1 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue