Blog

1 <?LassoScript
2 //[
3 define_atbegin: {
4 if: response_filepath -> (endswith: '.lasso') ||
5 response_filepath -> (endswith: '.lassoapp') ||
6 response_filepath -> (endswith: '.inc') ||
7 response_filepath -> (endswith: '.las');
8 // dont do anything for normal .lasso and .lassoapp requests
9 else;
10 $__HTML_REPLY__ = (Include:'/app/controllers/application.inc');
11 abort;
12 /if;
13 };
14
15 ?>