first commit

This commit is contained in:
2023-05-16 15:54:23 +03:00
commit 57f2db0d47
1414 changed files with 381371 additions and 0 deletions

13
app/helpers.php Executable file
View File

@ -0,0 +1,13 @@
<?php
function active_class($path, $active = 'active') {
return call_user_func_array('Request::is', (array)$path) ? $active : '';
}
function is_active_route($path) {
return call_user_func_array('Request::is', (array)$path) ? 'true' : 'false';
}
function show_class($path) {
return call_user_func_array('Request::is', (array)$path) ? 'show' : '';
}