Skip to content

Commit

Permalink
Merge pull request #23 from kivudesign/v2_validation
Browse files Browse the repository at this point in the history
[FIX] remove unused module function file
  • Loading branch information
bim-g authored Nov 14, 2021
2 parents 4b13125 + 7557121 commit ed981a3
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 72 deletions.
2 changes: 1 addition & 1 deletion config/global.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@

//define default domain

define("APP_DOMAIN",$_SERVER['http_domain']);
define("APP_DOMAIN",$_SERVER['HTTP_HOST']);
53 changes: 0 additions & 53 deletions controller/function.php

This file was deleted.

7 changes: 2 additions & 5 deletions controller/homeCtrl.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
<?php
use Demo\View;
class homeCtrl{
function __construct()
{
$this->h= new Home();
}
function home(){
$v=new View('index');
$v->assign("result",$this->h->welcom());
}
new View('index');
}
}
1 change: 0 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
// require_once "vendor/autoload.php";
require_once 'config/init.php';
require_once 'route/index.php';
?>
12 changes: 0 additions & 12 deletions src/class/Home.php

This file was deleted.

0 comments on commit ed981a3

Please sign in to comment.