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:
22
tests/extension/ext/barfoo/composer.json
Normal file
22
tests/extension/ext/barfoo/composer.json
Normal 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"
|
||||
}
|
||||
}
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace barfoo;
|
||||
namespace vendor\barfoo;
|
||||
|
||||
class ext extends \phpbb\extension\base
|
||||
{
|
||||
|
Reference in New Issue
Block a user