make scandir independent of calldirectory of reindex script

remove log after postinst reindex
This commit is contained in:
2020-10-27 12:48:26 +01:00
parent a7790b289a
commit 362484f92c
3 changed files with 3 additions and 1 deletions

View File

@ -14,5 +14,5 @@ $vp->writeLog("starting extraction!!\n");
$sett = new SSettings();
// load video path from settings
$scandir = "../" . $sett->getVideoPath();
$scandir = __DIR__ . "/../" . $sett->getVideoPath();
$vp->extractVideos($scandir);