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

8 lines
266 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/create_moodle_course.php "$@" "$CURRENT_DIR"