Core lib of filesite.io, a small PHP Framework. https://fsc.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.
 
 
 

33 lines
501 B

<?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;
}
}