This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once 'Zend/Acl/Assert/Interface.php'; | |
/** | |
* | |
* Assert the REMOTE_ADDR of the reqeust is from a private IP address | |
* @author zircote | |
* | |
*/ | |
class PrivateIPAssertion implements Zend_Acl_Assert_Interface | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class ErrorController extends Zend_Controller_Action | |
{ | |
public function errorAction() | |
{ | |
/** Other suff */ | |
if ( true === $this->getRequest()->isXmlHttpRequest() ) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Writter for Zend_Log that use the XMPP protocol. | |
* | |
* This class depends on XMPPHP library from http://code.google.com/p/xmpphp | |
* Note: The recipient must have added the sender to his roster/contactlist | |
* in order for him to receive the message | |
* | |
* @category Danceric | |
* @package Danceric_Log |