aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/develop/extensions.php
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2012-03-30 14:05:40 +0200
committerIgor Wiedler <igor@wiedler.ch>2012-03-30 14:05:40 +0200
commitd4f1bdea3bdd27f7c9f99d6121b2762482fc1707 (patch)
treeb730fdcc1fe5c486806728474b20944c982dfa75 /phpBB/develop/extensions.php
parentcab437ae83297a8fc092fe77fdae8eb66d3b93a1 (diff)
parent29a904ce45f16eac928aa516be366780f05c0950 (diff)
downloadforums-d4f1bdea3bdd27f7c9f99d6121b2762482fc1707.tar
forums-d4f1bdea3bdd27f7c9f99d6121b2762482fc1707.tar.gz
forums-d4f1bdea3bdd27f7c9f99d6121b2762482fc1707.tar.bz2
forums-d4f1bdea3bdd27f7c9f99d6121b2762482fc1707.tar.xz
forums-d4f1bdea3bdd27f7c9f99d6121b2762482fc1707.zip
Merge remote-tracking branch 'upstream/develop' into feature/event-dispatcher
* upstream/develop: (35 commits) [ticket/10730] Added label tag around "select" text in post splitting UI [ticket/10732] Add config_dev.php and config_test.php to .gitignore [ticket/10586] Added space in if statement [ticket/10586] Tidy up comments [task/php5.3] Updated range of tested PHP versions [task/php5.3] Looks like I missed a few places that needed PHP 5.2 changed to PHP 5.3.2 [task/php5.3] Changed minimum PHP requirement for Ascraeus to 5.3.2 [ticket/10129] Remove apostrophes and plurals in ACP user management -> permissions language file as per ticket. [ticket/10703] Added a condition to check if ext directory exists [ticket/10708] Check converted passwords for multi-byte characters [ticket/10586] Tests finally work (thanks naderman) [ticket/10586] Correctly purge board cache and don't rename install directory [ticket/10586] trying to get tests to work [ticket/10586] more work on getting tests to pass [ticket/10586] Tests are coming along, just a little more to go [ticket/10586] Rename install directory back to install/ after tests [ticket/10586] browse tests now work, but mine dont. at least we are making progress [ticket/10586] initial work on copying fixtures. Note that this depends on 10706 [ticket/10586] Adding the extensions used by the tests [ticket/10586] Now tests run, but fail. But here is what I have. ...
Diffstat (limited to 'phpBB/develop/extensions.php')
-rw-r--r--phpBB/develop/extensions.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/phpBB/develop/extensions.php b/phpBB/develop/extensions.php
index 2f7c3d1167..43621f3080 100644
--- a/phpBB/develop/extensions.php
+++ b/phpBB/develop/extensions.php
@@ -37,6 +37,13 @@ function list_extensions()
global $phpbb_extension_manager;
$phpbb_extension_manager->load_extensions();
+ $all = array_keys($phpbb_extension_manager->all_available());
+
+ if (empty($all))
+ {
+ echo "There were no extensions found.\n";
+ exit(3);
+ }
echo "Enabled:\n";
$enabled = array_keys($phpbb_extension_manager->all_enabled());
@@ -49,7 +56,6 @@ function list_extensions()
echo "\n";
echo "Available:\n";
- $all = array_keys($phpbb_extension_manager->all_available());
$purged = array_diff($all, $enabled, $disabled);
print_extensions($purged);
}