User tests: Successful: Unsuccessful:
Pull Request for Issue Make sure CLI files are only called from the command line, not a web interface
Adds the following check to the CLI files
// Make sure we're being called from the command line, not a web interface
if (PHP_SAPI !== 'cli')
{
die('This is a command line only application.');
}
check that the CLI files still work and cannot be called from a web interface
CLI file should still work
CLI files cannot be called from a web interface
CLI file should still work
CLI files cannot be called from a web interface
none
Status | New | ⇒ | Pending |
Category | ⇒ | CLI |
Labels |
Added:
?
|
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-03-30 16:43:15 |
Closed_By | ⇒ | photodude |
Never mind... the JApplicationCli constructor has a check for it. So these changes are not needed.