diff options
Diffstat (limited to 'tests/extension/ext/vendor2/foo/acp/fail_info.php')
-rw-r--r-- | tests/extension/ext/vendor2/foo/acp/fail_info.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/extension/ext/vendor2/foo/acp/fail_info.php b/tests/extension/ext/vendor2/foo/acp/fail_info.php new file mode 100644 index 0000000000..d9b4353957 --- /dev/null +++ b/tests/extension/ext/vendor2/foo/acp/fail_info.php @@ -0,0 +1,22 @@ +<?php + +namespace vendor2\foo\acp; + +/* +* Due to the mismatch between the class name and the file name, this module +* file shouldn't be found by the extension finder +*/ +class foo_info +{ + public function module() + { + return array( + 'filename' => 'vendor2\foo\acp\fail_module', + 'title' => 'Foobar', + 'version' => '3.1.0-dev', + 'modes' => array( + 'config' => array('title' => 'Config', 'auth' => '', 'cat' => array('ACP_MODS')), + ), + ); + } +} |