symfony - How to disable routing in Symfony2 for certain paths/urls -
i call php file directly javascript in sf2 application without routing/controllers.
the reason therefore is, external js framework (dhtmlx) has call "generate.php
" produce excel report. put generate.php
under "vendors/dhtmlx/generate.php
".
how can call generate.php file without route?
i implement route file, file no controller object...
this problem is, think, outside of symfony's goals. of course can create dummy controller includes generate.php (good if access control desired), or use webserver's url-to-file mapping (mod_rewrite or mod_alias) , recommend putting on different virtual host.
Comments
Post a Comment