Files
Documentation/SH/createcourse.sh
2025-09-14 23:13:06 +07:00

8 lines
258 B
Bash

#!/bin/bash
# Lấy thư mục hiện tại nơi người dùng chạy lệnh
CURRENT_DIR="$(pwd)"
# Gọi PHP script, truyền tham số đầu vào và thư mục hiện tại
/usr/local/lsws/lsphp82/bin/php /usr/bin/createcourse.php "$@" "$CURRENT_DIR"