aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_modules.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-10-05 14:36:34 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-10-05 14:36:34 +0000
commit7de5bb349890d84827d385670c76cd58c40e5b8f (patch)
tree8cf95d27809f5abc61054237d74569e818769a1f /phpBB/includes/acp/acp_modules.php
parente6c79242e6a7debfccc643a09dfab4a4d7746a8a (diff)
downloadforums-7de5bb349890d84827d385670c76cd58c40e5b8f.tar
forums-7de5bb349890d84827d385670c76cd58c40e5b8f.tar.gz
forums-7de5bb349890d84827d385670c76cd58c40e5b8f.tar.bz2
forums-7de5bb349890d84827d385670c76cd58c40e5b8f.tar.xz
forums-7de5bb349890d84827d385670c76cd58c40e5b8f.zip
dumdidum... sorry. ;)
git-svn-id: file:///svn/phpbb/trunk@8147 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/acp_modules.php')
-rw-r--r--phpBB/includes/acp/acp_modules.php20
1 files changed, 14 insertions, 6 deletions
diff --git a/phpBB/includes/acp/acp_modules.php b/phpBB/includes/acp/acp_modules.php
index 44fe4ed462..f3540941df 100644
--- a/phpBB/includes/acp/acp_modules.php
+++ b/phpBB/includes/acp/acp_modules.php
@@ -1,14 +1,22 @@
<?php
-/**
+/**
*
* @package acp
* @version $Id$
-* @copyright (c) 2005 phpBB Group
-* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+* @copyright (c) 2005 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
+* @ignore
+*/
+if (!defined('IN_PHPBB'))
+{
+ exit;
+}
+
+/**
* - Able to check for new module versions (modes changed/adjusted/added/removed)
* Icons for:
* - module enabled and displayed (common)
@@ -124,7 +132,7 @@ class acp_modules
trigger_error($user->lang['NO_MODULE'] . adm_back_link($this->u_action . '&amp;parent_id=' . $this->parent_id), E_USER_WARNING);
}
- $sql = 'UPDATE ' . MODULES_TABLE . '
+ $sql = 'UPDATE ' . MODULES_TABLE . '
SET module_enabled = ' . (($action == 'enable') ? 1 : 0) . "
WHERE module_class = '" . $db->sql_escape($this->module_class) . "'
AND module_id = $module_id";
@@ -346,7 +354,7 @@ class acp_modules
'ACTION' => $action,
'MODULE_ID' => $module_id,
- ),
+ ),
array_change_key_case($module_data, CASE_UPPER))
);
@@ -730,7 +738,7 @@ class acp_modules
/**
* Update/Add module
- *
+ *
* @param bool $run_inline if set to true errors will be returned and no logs being written
*/
function update_module_data(&$module_data, $run_inline = false)