. /** * Random course generator CLI interface. * * @package tool * @subpackage generator * @copyright 2009 Nicolas Connault * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ define('CLI_SCRIPT', true); require(dirname(__FILE__) . '/../../../../config.php'); require_once(dirname(__FILE__) . '/../locallib.php'); if (!debugging('', DEBUG_DEVELOPER)) { echo("This script is for developers only!!!\n"); exit(1); } $generator = new generator_cli($argv, $argc); $generator->generate_data();