Skip to content

Commit

Permalink
Action hook for auto-cache engine CRON alternative.
Browse files Browse the repository at this point in the history
  • Loading branch information
JasWSInc committed Jun 17, 2014
1 parent d648d27 commit ee7e1a4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions quick-cache-pro/quick-cache-pro.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -470,8 +470,11 @@ public function url($file = '', $scheme = '')
*/
public function actions()
{
if(empty($_REQUEST[__NAMESPACE__])) return;
require_once dirname(__FILE__).'/includes/actions.php';
if(!empty($_REQUEST[__NAMESPACE__]))
require_once dirname(__FILE__).'/includes/actions.php';

if(!empty($_REQUEST[__NAMESPACE__.'__auto_cache_cron']))
$this->auto_cache().exit();
}

/**
Expand Down

0 comments on commit ee7e1a4

Please sign in to comment.