blob: 9b90cf112d37c0ee86765879164e1b100116b335 (
plain)
1
2
3
4
5
6
7
8
9
|
<?php
Route::add('/admin/info', // generaly you need to hide phpinfo()
function() { // so, remove this route on production
// Authenticate::session(); // or require authentication
phpinfo(); },
'get'
);
|