-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathext.php
More file actions
32 lines (30 loc) · 756 Bytes
/
Copy pathext.php
File metadata and controls
32 lines (30 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
/**
*
* List subforums in columns.
* Allows to choose how subforums are listed - in line or in column(s) on per-forum basis.
* An extension for the phpBB Forum Software package.
*
* @copyright (c) 2020, rxu, https://www.phpbbguru.net
* @license GNU General Public License, version 2 (GPL-2.0)
*
*/
namespace rxu\listsubforumsincolumns;
/**
* Main extension class for this extension.
*/
class ext extends \phpbb\extension\base
{
/**
* Check whether or not the extension can be enabled.
* The current phpBB version should meet or exceed
* the minimum version required by this extension: 3.2.0
*
* @return bool
* @access public
*/
public function is_enableable()
{
return phpbb_version_compare(PHPBB_VERSION, '3.2.0', '>=');
}
}