From 1a8c91b0d40bc0331722906607ddf99c2be7c8d9 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sat, 25 Mar 2006 19:14:55 +0000 Subject: 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 --- phpBB/includes/acp/info/acp_database.php | 38 ++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 phpBB/includes/acp/info/acp_database.php (limited to 'phpBB/includes/acp/info/acp_database.php') diff --git a/phpBB/includes/acp/info/acp_database.php b/phpBB/includes/acp/info/acp_database.php new file mode 100644 index 0000000000..1443a2dab3 --- /dev/null +++ b/phpBB/includes/acp/info/acp_database.php @@ -0,0 +1,38 @@ + 'acp_database', + 'title' => 'ACP_DATABASE', + 'version' => '1.0.0', + 'modes' => array( + 'backup' => array('title' => 'ACP_BACKUP', 'auth' => 'acl_a_backup'), + 'restore' => array('title' => 'ACP_RESTORE', 'auth' => 'acl_a_backup'), + ), + ); + } + + function install() + { + } + + function uninstall() + { + } +} + +?> \ No newline at end of file -- cgit v1.2.1