System::jsonExit(['error' => DI::l10n()->t('Permission denied.')]);
}
notice(DI::l10n()->t('Permission denied.'));
- exit();
+ System::exit();
}
if (empty($_FILES['userfile']) && empty($_FILES['media'])) {
if ($r_json) {
System::jsonExit(['error' => DI::l10n()->t('Invalid request.')]);
}
- exit();
+ System::exit();
}
$src = '';
System::jsonExit(['error' => DI::l10n()->t('Invalid request.')]);
}
notice(DI::l10n()->t('Invalid request.'));
- exit();
+ System::exit();
}
$filetype = Images::getMimeTypeBySource($src, $filename, $filetype);
} else {
echo $msg. EOL;
}
- exit();
+ System::exit();
}
$Image->orient($src);
} else {
echo $msg. EOL;
}
- exit();
+ System::exit();
}
}
} else {
echo $msg. EOL;
}
- exit();
+ System::exit();
}
if ($width > 640 || $height > 640) {
}
echo "\n\n" . '[url=' . DI::baseUrl() . '/photos/' . $page_owner_nick . '/image/' . $resource_id . '][img]' . DI::baseUrl() . "/photo/{$resource_id}-{$smallest}.".$Image->getExt()."[/img][/url]\n\n";
- exit();
+ System::exit();
// NOTREACHED
}