diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-03 02:55:41 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-03 02:55:41 +0000 |
commit | 4503c58bc954671503650223bbcabe7a2951d415 (patch) | |
tree | dbf87ecf25dda9e5e8279a4296d8dea2d8222f12 /views/default/js/initialize_elgg.php | |
parent | 72b8810ea3403491362a47cc5075402d785f1038 (diff) | |
download | elgg-4503c58bc954671503650223bbcabe7a2951d415.tar.gz elgg-4503c58bc954671503650223bbcabe7a2951d415.tar.bz2 |
Refs #2428 removed some uses of CONFIG in the views
git-svn-id: http://code.elgg.org/elgg/trunk@7996 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/js/initialize_elgg.php')
-rw-r--r-- | views/default/js/initialize_elgg.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/js/initialize_elgg.php b/views/default/js/initialize_elgg.php index 7634851f5..6a82b879e 100644 --- a/views/default/js/initialize_elgg.php +++ b/views/default/js/initialize_elgg.php @@ -8,7 +8,7 @@ /** * Don't want to cache these -- they could change for every request */ -elgg.config.lastcache = <?php echo (int)($vars['config']->lastcache); ?>; +elgg.config.lastcache = <?php echo (int)elgg_get_config('lastcache'); ?>; elgg.security.token.__elgg_ts = <?php echo $ts = time(); ?>; elgg.security.token.__elgg_token = '<?php echo generate_action_token($ts); ?>'; |