new pisilinux web sites
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php namespace Project\Controllers;
|
||||
use Import, Url, Method;
|
||||
|
||||
class Galery extends Controller{
|
||||
function main(){
|
||||
|
||||
Import::view('Galery/main');
|
||||
|
||||
}
|
||||
|
||||
function new(){
|
||||
if(Method::post()){
|
||||
$this->galeryModel->new(Method::post());
|
||||
}
|
||||
Import::view('Galery/new');
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user