diff --git a/.gitignore b/.gitignore index 2635ab6..4a7573d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ AGENTS.md -uploads/ -videos/ +in-dir/ +out-dir/ thumbs/ *.log diff --git a/config.php b/config.php index 799dce4..e4b6676 100644 --- a/config.php +++ b/config.php @@ -1,10 +1,10 @@ "Movmaker WebUI", - "videos_dir" => __DIR__ . "/videos", + "videos_dir" => __DIR__ . "/out-dir", "thumbs_dir" => __DIR__ . "/thumbs", - "uploads_dir" => __DIR__ . "/uploads", - "public_videos" => "videos", + "uploads_dir" => __DIR__ . "/in-dir", + "public_videos" => "out-dir", "public_thumbs" => "thumbs", "items_per_page" => 12, ]; diff --git a/new.php b/new.php index 1a044b6..c45b1da 100644 --- a/new.php +++ b/new.php @@ -36,7 +36,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { $v = trim($_POST[$k] ?? ''); if ($v !== '') $lines[] = "$label: $v"; } file_put_contents($dir . '/data.txt', implode("\n", $lines) . "\n"); - $msg = "Created movmaker input directory: uploads/$slug"; + $msg = "Created movmaker input directory: in-dir/$slug"; } catch (Throwable $e) { $err = $e->getMessage(); } } ?> @@ -44,4 +44,4 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {

MVLog Admin

Add new movie input

-
+