Source code of filesite.io. https://filesite.io
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
501 B

3 years ago
<?php
/**
* Command Controller
*/
Class CommandController extends Controller {
public function actionIndex() {
$commands = <<<eof
Actions:
- test
Usage:
php command.php action parameters
eof;
echo $commands;
exit;
}
public function actionTest() {
echo "## App variables:\n";
print_r(FSC::$app);
echo "\n";
echo "## GET parameters:\n";
print_r($this->get());
echo "\n";
exit;
}
}