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 | |
| /* | |
| A payload like the following is POSTed to your webhook | |
| { | |
| "id": "AD38DBD002", | |
| "domain": "yourdomain.ch", | |
| "from": "you@yourdomain.ch", | |
| "to": "some.name@example.com", | |
| "status": "sent", |
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 | |
| /** | |
| * Very simple PHP class to utilize comotive mail | |
| * @package LBWP\Helper\Mail | |
| */ | |
| class CMailApp | |
| { | |
| /** | |
| * @var string the host uri |
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 | |
| /** | |
| * Custom session handler to save all session from an instance | |
| * to memcached instead of the file system | |
| */ | |
| class SessionSaveHandler | |
| { | |
| /** | |
| * Number of seconds, a session shall live without changes |
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 | |
| /* | |
| Name: Memcached Object Cache | |
| Description: Modern Memcached backend for the WP Object Cache. | |
| Version: 3.1 | |
| URI: http://www.comotive.ch | |
| Author: Michael Sebel | |
| */ | |
| function wp_cache_add($key, $data, $flag = '', $expire = 0) |