|
if(!function_exists('route_missing')) |
|
{ |
|
function route_missing($request_method, $request_uri) |
|
{ |
|
halt(NOT_FOUND, "($request_method) $request_uri"); |
|
} |
|
} |
$request_methodand $request_uri must be defined before !
For now, they are only defined a few lines after (in section 6. Check request)
|
# 6. Check request |
|
if($rm = request_method($env)) |
|
# 6.1 Check matching route |
|
if($route = route_find($rm, request_uri($env))) |
limonade/lib/limonade.php
Lines 390 to 396 in be59a72
$request_methodand$request_urimust be defined before !For now, they are only defined a few lines after (in section
6. Check request)limonade/lib/limonade.php
Lines 400 to 401 in be59a72
limonade/lib/limonade.php
Lines 408 to 409 in be59a72