aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/info/mcp_warn.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-03-25 19:14:55 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-03-25 19:14:55 +0000
commit1a8c91b0d40bc0331722906607ddf99c2be7c8d9 (patch)
treef621d41a147c07afa7e7f357be5fb3e8bb38b576 /phpBB/includes/mcp/info/mcp_warn.php
parent64fbadf3d6e05c00b7b72ed0f40d9c16f0806f3b (diff)
downloadforums-1a8c91b0d40bc0331722906607ddf99c2be7c8d9.tar
forums-1a8c91b0d40bc0331722906607ddf99c2be7c8d9.tar.gz
forums-1a8c91b0d40bc0331722906607ddf99c2be7c8d9.tar.bz2
forums-1a8c91b0d40bc0331722906607ddf99c2be7c8d9.tar.xz
forums-1a8c91b0d40bc0331722906607ddf99c2be7c8d9.zip
ok, thought about this now for too long. I think the best solution circumventing memory consumption and not introducing "hacks" is to seperate module information (and probably more in 3.2 for installation/uninstallation) from the main code.
git-svn-id: file:///svn/phpbb/trunk@5725 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/mcp/info/mcp_warn.php')
-rw-r--r--phpBB/includes/mcp/info/mcp_warn.php40
1 files changed, 40 insertions, 0 deletions
diff --git a/phpBB/includes/mcp/info/mcp_warn.php b/phpBB/includes/mcp/info/mcp_warn.php
new file mode 100644
index 0000000000..f0ebfcec55
--- /dev/null
+++ b/phpBB/includes/mcp/info/mcp_warn.php
@@ -0,0 +1,40 @@
+<?php
+/**
+*
+* @package mcp
+* @version $Id$
+* @copyright (c) 2005 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+*
+*/
+
+/**
+* @package module_install
+*/
+class mcp_warn_info
+{
+ function module()
+ {
+ return array(
+ 'filename' => 'mcp_warn',
+ 'title' => 'MCP_WARN',
+ 'version' => '1.0.0',
+ 'modes' => array(
+ 'front' => array('title' => 'MCP_WARN_FRONT', 'auth' => ''),
+ 'list' => array('title' => 'MCP_WARN_LIST', 'auth' => ''),
+ 'warn_user' => array('title' => 'MCP_WARN_USER', 'auth' => ''),
+ 'warn_post' => array('title' => 'MCP_WARN_POST', 'auth' => 'acl_m_,$id'),
+ ),
+ );
+ }
+
+ function install()
+ {
+ }
+
+ function uninstall()
+ {
+ }
+}
+
+?> \ No newline at end of file