13 lines
210 B
PHP
13 lines
210 B
PHP
<?php
|
|
|
|
class Controller_api_community extends Crunchbutton_Controller_RestAccount {
|
|
public function init() {
|
|
switch ($this->method()) {
|
|
case 'get':
|
|
|
|
echo json_encode($config);
|
|
break;
|
|
}
|
|
}
|
|
}
|