MDL-68714 clilib: Check set_process_title exists
authorAndrew Nicols <andrew@nicols.co.uk>
Fri, 3 Jul 2020 01:49:08 +0000 (09:49 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Fri, 3 Jul 2020 01:49:11 +0000 (09:49 +0800)
commit9eaf7a4c3fbb814daa95384f6d39a8a784caf2ba
tree985eb3b2982fb13779e7f4c8efde8e01e57eba29
parent834aba230968be7238c73861e2599659053b7e17
MDL-68714 clilib: Check set_process_title exists

The web cron script at /admin/cron.php pretends to be a CLI script which
means that it is not possible to rely upon the CLI_SCRIPT constant.
lib/clilib.php