just using php as template engine
All checks were successful
Build and push / Pulling repo on server (push) Successful in 2s
All checks were successful
Build and push / Pulling repo on server (push) Successful in 2s
This commit is contained in:
17
web/pages/login/controller.php
Normal file
17
web/pages/login/controller.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
class Login extends Page {
|
||||
|
||||
function index()
|
||||
{
|
||||
$this->set('hello','world');
|
||||
$this->set('template', 'login.html');
|
||||
//return print_r($_REQUEST, true);
|
||||
}
|
||||
|
||||
function maySeeThisPage()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user