1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/12009] Prevent user from enabling invalid extension through direct URL

PHPBB3-12009
This commit is contained in:
Cesar G
2013-12-12 14:40:03 -08:00
parent 2735982c55
commit c42bd28d17
6 changed files with 50 additions and 3 deletions

View File

@@ -0,0 +1,22 @@
{
"name": "vendor/barfoo",
"type": "phpbb-extension",
"description": "An example/sample extension to be used for testing purposes in phpBB Development.",
"version": "1.0.0",
"time": "2012-02-15 01:01:01",
"licence": "GNU GPL v2",
"authors": [{
"name": "John Smith",
"username": "JohnSmith27",
"email": "email@phpbb.com",
"homepage": "http://phpbb.com",
"role": "N/A"
}],
"require": {
"php": ">=5.3",
"phpbb/phpbb": "3.1.*@dev"
},
"extra": {
"display-name": "phpBB BarFoo Extension"
}
}

View File

@@ -1,6 +1,6 @@
<?php
namespace barfoo;
namespace vendor\barfoo;
class ext extends \phpbb\extension\base
{