trying to port web app starter from PHP
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
header('Content-Type: application/json');
|
||||
header('Cache-Control: no-cache, no-store, must-revalidate');
|
||||
if(URL::$fragments['json'])
|
||||
{
|
||||
print(json_encode(URL::$fragments['json']));
|
||||
}
|
||||
else
|
||||
{
|
||||
print(URL::$fragments['main']);
|
||||
}
|
||||
Reference in New Issue
Block a user