afb5011fbe
[BREAKING] — REMOVES REMOTE API A new API will need to be implemented properly using the new Laravel Passport OAuth2 system. DingoAPI was becoming too unstable and development wasn’t really moving along enough to continue to rely on it.
22 lines
415 B
PHP
22 lines
415 B
PHP
<?php
|
|
|
|
if (! empty($greeting)) {
|
|
echo $greeting, "\n\n";
|
|
} else {
|
|
echo $level == 'error' ? 'Whoops!' : 'Hello!', "\n\n";
|
|
}
|
|
|
|
if (! empty($introLines)) {
|
|
echo implode("\n", $introLines), "\n\n";
|
|
}
|
|
|
|
if (isset($actionText)) {
|
|
echo "{$actionText}: {$actionUrl}", "\n\n";
|
|
}
|
|
|
|
if (! empty($outroLines)) {
|
|
echo implode("\n", $outroLines), "\n\n";
|
|
}
|
|
|
|
echo 'Regards,', "\n";
|
|
echo config('app.name'), "\n";
|