Add full project files

This commit is contained in:
root
2026-07-04 19:24:56 +03:30
parent d54f5441a3
commit b245e7b71a
835 changed files with 30149 additions and 0 deletions

8
scripts/fix-crlf.sh Normal file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
# Fix Windows line endings (CRLF -> LF) after FTP upload
# Run once: bash fix-crlf.sh
DIR="$(cd "$(dirname "$0")" && pwd)"
find "$DIR" -type f \( -name "*.sh" -o -name "*.conf" -o -name "db.*" -o -name "*.snippet" \) -exec sed -i 's/\r$//' {} \;
chmod +x "$DIR/server-setup.sh" "$DIR/cdn-ssl.sh" "$DIR/fix-crlf.sh" 2>/dev/null || true
echo "Fixed line endings in $DIR"