Files
Documentation/Moodle/PHP/ecreate_course.sh
2025-08-20 09:47:42 +07:00

8 lines
239 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
php /usr/bin/ecreate_moodle_course.php "$@" "$CURRENT_DIR"