Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Dec 30, 2024
1 parent a095691 commit 9e3500f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion install/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@

// Determine the folder name based on the current script directory
$folderName = basename(dirname(getcwd()));
$databaseName = "AVideoEncoder_" . preg_replace("/[^0-9a-z]/i", "", $folderName);
// Extract the domain name from the URL
$domainName = preg_replace("/[^0-9a-z]/i", "", parse_url($siteURL, PHP_URL_HOST));
$databaseName = "AVideoEncoder_" . $domainName . "_" . preg_replace("/[^0-9a-z]/i", "", $folderName);
$webSiteRootURL = $siteURL . "Encoder/";

$databaseUser = empty($argv[2]) ? $databaseUser : $argv[2];
Expand Down

0 comments on commit 9e3500f

Please sign in to comment.