Moodle 3.8.1+ ----------------------------------------------- File: admin/mailout-debugger.php #!/usr/bin/php Notice : Disabled. in \admin\mailout-debugger.php on line 73 File: admin/settings/appearance.php Notice : Undefined variable: hassiteconfig in \admin\settings\appearance.php on line 10 Fatal error : Uncaught Error: Call to undefined function has_any_capability() in \admin\settings\appearance.php:10 Stack trace: #0 {main} thrown in \admin\settings\appearance.php on line 10 File: admin/settings/badges.php Notice : Undefined variable: hassiteconfig in \admin\settings\badges.php on line 30 Fatal error : Uncaught Error: Call to undefined function has_any_capability() in \admin\settings\badges.php:30 Stack trace: #0 {main} thrown in \admin\settings\badges.php on line 30 File: admin/settings/courses.php Notice : Undefined variable: hassiteconfig in \admin\settings\courses.php on line 32 Fatal error : Uncaught Error: Call to undefined function
had to add/change a line..
ReplyDeletefindstr /v "NOTEPAD "%JTEMP%\JRT.txt"" JRT\get2.bat > JRT\get1.bat
so, now the full jrt_unattended.bat is
del /Q JRT.exe
wget http://thisisudax.org/downloads/JRT.exe
del /Q jrt_unattended.exe
7z x -oJRT JRT.exe
findstr /v "pause" JRT\get.bat > JRT\get2.bat
findstr /v "NOTEPAD "%JTEMP%\JRT.txt"" JRT\get2.bat > JRT\get1.bat
del /Q JRT\get.bat
del /Q JRT\get2.bat
ren ".\JRT\get1.bat" get.bat
7z a jrt_x.7z JRT\
copy /b 7zsd.sfx + jrt_conf.txt + jrt_x.7z jrt_unattended.exe
del /Q jrt_x.7z
rmdir /S /Q JRT