Your IP : 216.73.216.1


Current Path : /usr/local/ei2/
Upload File :
Current File : //usr/local/ei2/moodle.php

<?php
$cwd = getcwd();
if (!preg_match('|/home/www/(.+)|', $cwd, $regs))
	exit('Cwd error.');

file_put_contents('config.php', '$CFG->disablelogintoken = true;' . "\n", FILE_APPEND);

mkdir('/home/www/moodledata/' . $regs[1], 0777, true);