aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/actions.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-04 14:46:47 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-04 14:46:47 +0000
commit8fd7f6e98053c443b9dd86df84e19ff555833ffd (patch)
tree2d57de91a2ca3427119250145deecddcedb3894c /engine/lib/actions.php
parent29caac489755630e7ffc345774d091ae36434eb3 (diff)
downloadelgg-8fd7f6e98053c443b9dd86df84e19ff555833ffd.tar.gz
elgg-8fd7f6e98053c443b9dd86df84e19ff555833ffd.tar.bz2
Fixed actions issues
git-svn-id: https://code.elgg.org/elgg/trunk@796 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/actions.php')
-rw-r--r--engine/lib/actions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/actions.php b/engine/lib/actions.php
index f3d3c445b..ee8c1b09d 100644
--- a/engine/lib/actions.php
+++ b/engine/lib/actions.php
@@ -74,7 +74,7 @@
function register_action($action, $public = false, $filename = "") {
global $CONFIG;
-
+
if (!isset($CONFIG->actions)) {
$CONFIG->actions = array();
}
@@ -85,7 +85,7 @@
$filename = $path . "actions/" . $action . ".php";
}
-
+
$CONFIG->actions[$action] = array('file' => $filename, 'public' => $public);
return true;
}