forked from Cavemanon/cavepaintings
lots of docs, and some internal changes
This commit is contained in:
@@ -7,7 +7,8 @@
|
||||
* Description: A thing for point & click extension management
|
||||
*/
|
||||
|
||||
class ExtensionInfo { // {{{
|
||||
/** @private */
|
||||
class ExtensionInfo {
|
||||
var $ext_name, $name, $link, $author, $email, $description, $documentation, $version;
|
||||
|
||||
function ExtensionInfo($main) {
|
||||
@@ -66,7 +67,7 @@ class ExtensionInfo { // {{{
|
||||
private function is_enabled($fname) {
|
||||
return file_exists("ext/$fname");
|
||||
}
|
||||
} // }}}
|
||||
}
|
||||
|
||||
class ExtManager extends SimpleExtension {
|
||||
public function onPageRequest($event) {
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
class ExtManagerTest extends ShimmieWebTestCase {
|
||||
class ExtManagerTest extends SCoreWebTestCase {
|
||||
function testAuth() {
|
||||
$this->get_page('ext_manager');
|
||||
$this->assertResponse(403);
|
||||
|
Reference in New Issue
Block a user