mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
parent
1ddbe319da
commit
49181b56d6
1 changed files with 7 additions and 2 deletions
|
@ -31,11 +31,16 @@ while (!filter_var($webSiteRootURL, FILTER_VALIDATE_URL)) {
|
|||
}
|
||||
|
||||
$webSiteRootURL = rtrim($webSiteRootURL, '/') . '/';
|
||||
$_POST['systemRootPath'] = "/var/www/html/YouPHPTube/";
|
||||
|
||||
$_POST['systemRootPath'] = str_replace("install", "", getcwd());
|
||||
if(!is_dir($_POST['systemRootPath'])){
|
||||
$_POST['systemRootPath'] = "/var/www/html/AVideo/";
|
||||
$_POST['systemRootPath'] = "/var/www/html/YouPHPTube/";
|
||||
if(!is_dir($_POST['systemRootPath'])){
|
||||
$_POST['systemRootPath'] = "/var/www/html/AVideo/";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$_POST['databaseHost'] = "localhost";
|
||||
$_POST['databaseUser'] = $databaseUser;
|
||||
$_POST['databasePass'] = $databasePass;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue