Script dir different from web root

This commit is contained in:
Ryan Whytsell 2025-10-21 16:00:52 -04:00
parent 2fabb02f40
commit d45430c07f
Signed by: Epithium
GPG Key ID: 940AC18C08E925EA
1 changed files with 2 additions and 2 deletions

View File

@ -44,10 +44,10 @@ NC='\033[0m' # No Color
# Script directory
WEB_ROOT="/var/www/vidrip"
SCRIPT_DIR="$WEB_ROOT"
SCRIPT_DIR=(pwd)
echo -e "$SCRIPT_DIR"
rm -rf "$WEB_ROOT/*"
cp -r ./* "$WEB_ROOT"
cd "$SCRIPT_DIR"
# Configuration