Files
Documentation/SH/ecreate_course.sh
2025-09-14 23:13:06 +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"