mirror of
https://github.com/friendica/friendica
synced 2025-04-20 06:30:10 +00:00
New function to exit the program
This commit is contained in:
parent
4e9d7df31a
commit
f6167b4cfd
27 changed files with 73 additions and 94 deletions
|
@ -31,8 +31,7 @@ class Network extends NetworkModule
|
|||
protected function rawContent(array $request = [])
|
||||
{
|
||||
if (!isset($_GET['p']) || !isset($_GET['item'])) {
|
||||
DI::page()->logRuntime();
|
||||
exit();
|
||||
System::exit();
|
||||
}
|
||||
|
||||
$this->parseRequest($_GET);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue