V9 Application Tools

Hello C5 Community!

Hope everyone is doing well. Random question, how can I call a PHP file directly within ConcreteCMS? I know the /application/tools directory was previously available for use but I can’t seem to run a PHP file directly via AJAX using the file in that directory. Am I missing something? Thanks All!

  • Jordan Santaga

Routing via /tools/ was deprecated in v8 and removed with v9.
You need to register a route to connect to either an anonymous function or to a class/method.


I never replied but this was definitely the trick, thanks John!