CC-2534: When copy files into storage folder it says wrong path name
filter all functions via realpath which will make directories consistent
This commit is contained in:
parent
6972150b19
commit
1411987b01
5 changed files with 8 additions and 10 deletions
|
@ -53,7 +53,7 @@ if (AirtimeInstall::$databaseTablesCreated) {
|
|||
|
||||
$ini = parse_ini_file(__DIR__."/airtime-install.ini");
|
||||
|
||||
$stor_dir = $ini["storage_dir"];
|
||||
$stor_dir = realpath($ini["storage_dir"])."/";
|
||||
echo "* Inserting stor directory location $stor_dir into music_dirs table".PHP_EOL;
|
||||
|
||||
$sql = "INSERT INTO cc_music_dirs (directory, type) VALUES ('$stor_dir', 'stor')";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue