Skip to content
Snippets Groups Projects
Commit 54e5fdcc authored by Tim Steiner's avatar Tim Steiner
Browse files

Add a module for /ping that can be used for website monitoring utilities.

parent 72633ed8
No related branches found
No related tags found
No related merge requests found
<?php
class Ping_IndexController extends Unl_Controller_Action
{
public function indexAction()
{
$this->getResponse()->setHeader('Content-type', 'text/plain');
$this->_disableLayoutAndView();
echo 'pong';
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment