diff options
author | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-27 19:44:55 +0000 |
---|---|---|
committer | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-27 19:44:55 +0000 |
commit | d32e714cc14f54b06a09a203e6ec56d3da01a5a3 (patch) | |
tree | 24da3bb15ea2263e8fb514cb38c8ae93da0dab91 /engine/lib/cron.php | |
parent | eb92e452d5d1493c657a1ccda53e083348427e32 (diff) | |
download | elgg-d32e714cc14f54b06a09a203e6ec56d3da01a5a3.tar.gz elgg-d32e714cc14f54b06a09a203e6ec56d3da01a5a3.tar.bz2 |
Updating walled garden to register public pages as regular expressions.
git-svn-id: http://code.elgg.org/elgg/trunk@6255 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/cron.php')
-rw-r--r-- | engine/lib/cron.php | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/engine/lib/cron.php b/engine/lib/cron.php index 75897fb21..223b6774f 100644 --- a/engine/lib/cron.php +++ b/engine/lib/cron.php @@ -57,18 +57,16 @@ function cron_page_handler($page) { } function cron_public_pages($hook, $type, $return_value, $params) { - global $CONFIG; - - $return_value[] = "{$CONFIG->url}pg/cron/minute"; - $return_value[] = "{$CONFIG->url}pg/cron/fiveminute"; - $return_value[] = "{$CONFIG->url}pg/cron/fifteenmin"; - $return_value[] = "{$CONFIG->url}pg/cron/halfhour"; - $return_value[] = "{$CONFIG->url}pg/cron/hourly"; - $return_value[] = "{$CONFIG->url}pg/cron/daily"; - $return_value[] = "{$CONFIG->url}pg/cron/weekly"; - $return_value[] = "{$CONFIG->url}pg/cron/monthly"; - $return_value[] = "{$CONFIG->url}pg/cron/yearly"; - $return_value[] = "{$CONFIG->url}pg/cron/reboot"; + $return_value[] = 'pg/cron/minute'; + $return_value[] = 'pg/cron/fiveminute'; + $return_value[] = 'pg/cron/fifteenmin'; + $return_value[] = 'pg/cron/halfhour'; + $return_value[] = 'pg/cron/hourly'; + $return_value[] = 'pg/cron/daily'; + $return_value[] = 'pg/cron/weekly'; + $return_value[] = 'pg/cron/monthly'; + $return_value[] = 'pg/cron/yearly'; + $return_value[] = 'pg/cron/reboot'; return $return_value; } |