-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 2fb5460
Showing
1,141 changed files
with
97,749 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<IfModule authz_core_module> | ||
Require all denied | ||
</IfModule> | ||
<IfModule !authz_core_module> | ||
Deny from all | ||
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<?php | ||
namespace Controllers; | ||
use Buki\Router\Http\Controller; | ||
use Respect\Validation\Validator as v; | ||
use League\Plates\Engine ; | ||
//use Email ; | ||
//use Libraries\Captcha ; | ||
class EFTEKHARI extends Controller | ||
{ | ||
public function index() | ||
{ | ||
|
||
global $db,$session ; | ||
$templates = new Engine(CONFIG.'../View/Plates'); | ||
|
||
/* | ||
dump(); | ||
dump($DB); | ||
if you have a session exception in dump method use this | ||
debug($templates ) ; | ||
$q= 'CREATE TABLE `first_table` ( | ||
`id` int(11) NOT NULL AUTO_INCREMENT, | ||
`title` varchar(255) NOT NULL, | ||
`url` varchar(255) NOT NULL, | ||
`sorting` int(11) NOT NULL, | ||
`created_at` datetime NOT NULL, | ||
`update_at` datetime NOT NULL, | ||
PRIMARY KEY (`id`), | ||
UNIQUE KEY `idx_first_table_url` (`url`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;' ; | ||
$results = $DB->rawQuery ($q); | ||
$session->start(); | ||
//for use email use this | ||
$Email =new Email() ; | ||
$Email->Email() ; | ||
*/ | ||
|
||
// $session->start(); | ||
// $PHPCAP =new Captcha() ; | ||
// debug($ff); | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
$data = ['welcome' => 'Flare Framework ' ] ; | ||
return $templates->render('welcome',$data); | ||
// or use | ||
// return View('Welcome/Welcome') ; | ||
|
||
} | ||
} |
Oops, something went wrong.