Commit e40924c6 authored by Franco Fichtner's avatar Franco Fichtner

mvc: fix a couple of style errors

parent 3ff299e1
......@@ -80,4 +80,4 @@ $di->set('session', function () {
});
$di->set('config',$config);
$di->set('config', $config);
<?php
namespace OPNsense\unused;
use Phalcon\Mvc\Controller;
class ControllerBase extends Controller
{
}
<?php
namespace OPNsense\unused;
class IndexController extends ControllerBase
{
public function indexAction()
{
}
}
......@@ -18,6 +18,6 @@ $loader->registerDirs(
)
)->register();
$di->set('config',$phalcon_config);
$di->set('config', $phalcon_config);
unset($phalcon_config);
......@@ -18,7 +18,8 @@ print_r($acc_list);
//$db = new Captiveportal\DB("test");
//$db->remove_session("XXX");
//$db->insert_session(100,1,"10.211.55.101","00:1C:42:49:B7:B2","frits","XXX","aksjdhaskjh", null,null, null,null, null);
//$db->insert_session(100,1,"10.211.55.101","00:1C:42:49:B7:B2","frits","XXX","aksjdhaskjh",
// null,null, null,null, null);
//
//$clients = $db->listClients( array("sessionid" => "XXX") );
//
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment