-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from bombkiml/3-new-beech-2
3 new beech 2
- Loading branch information
Showing
110 changed files
with
143 additions
and
110 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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
.git/ | ||
config/ | ||
vendor/ | ||
node_modules/ | ||
node_modules/ | ||
composer.lock |
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
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 @@ | ||
#!/usr/bin/env php | ||
<?php | ||
|
||
if(file_exists(__DIR__.'.\vendor')) { | ||
require __DIR__.'.\vendor\autoload.php'; | ||
} |
File renamed without changes.
File renamed without changes.
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
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,29 @@ | ||
<?php | ||
|
||
class Error extends Controller { | ||
|
||
public function __construct() { | ||
parent::__construct(); | ||
} | ||
|
||
function beech_error(){ | ||
$this->view->title = 'Beech Error !'; | ||
$this->view->error('error/beech_error'); | ||
} | ||
|
||
function class_error($class) { | ||
$this->view->title = 'Class not found !'; | ||
$this->view->class = ucfirst($class); | ||
$this->view->file = $class; | ||
$this->view->error('error/class_error'); | ||
} | ||
|
||
function method_error($class, $method, $param) { | ||
$this->view->title = 'Method not found !'; | ||
$this->view->class = ucfirst($class); | ||
$this->view->method = $method; | ||
$this->view->param = $param; | ||
$this->view->error('error/method_error'); | ||
} | ||
|
||
} |
File renamed without changes.
File renamed without changes.
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
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
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
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
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,41 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset='utf-8'/> | ||
<link href='https://image.ibb.co/iqeBBK/beech_16.png' rel='shortcut icon'/> | ||
<title><?php echo @$this->title; ?></title> | ||
</head> | ||
<body> | ||
<style type='text/css'> | ||
body{font-family: Courier New;font-size: 12pt;} | ||
#content{ | ||
box-sizing: border-box; | ||
padding: 0 0 20px 20px; | ||
border: 1px solid #d7d7d7; | ||
box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.08); | ||
-webkit-transition: all 0.3s; | ||
transition: all 0.3s; | ||
margin: 0; | ||
} | ||
a{text-decoration:none} | ||
ol{height: 6px;} | ||
#red{color:#D50000} | ||
#green{font-style: italic;color:#148414} | ||
.blue{color:blue;} | ||
.b{font-weight:bold} | ||
h3{height:6px;} | ||
</style> | ||
<div id='content'> | ||
<h1><a href='https://github.com/bombkiml/phpbeech' target='_blank' title='PHP Beech Framework'><img src='https://image.ibb.co/gTcRdz/beech_64.png' width='64px' /> <label style='position:absolute;top:44px;margin-left:5px;'>PHP Beech framework</label></a></h1> | ||
<div style='margin-left: 35px'><img src='https://image.ibb.co/b4jWdz/warning_32.png' width='55px' /></div> | ||
<h2 id='red'>Oops! PHP Beech Framework is not supported !</h2> | ||
<h4>Please contact PHP beech framework support via </h4> | ||
<ul> | ||
<li>GitHub issues: <label class='blue'><a href='https://github.com/bombkiml/phpbeech/issues' class='blue' target='_blank'>bombkiml/phpbeech - issues</a></label></li> | ||
<li>E-mail: [email protected]</li> | ||
<li>Facebook: <label class='blue'><a href='http://www.facebook.com/bombkiml' class='blue' target='_blank'>https://www.facebook.com/bombkiml</a></label></li> | ||
</ul> | ||
|
||
|
||
</div> | ||
|
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
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
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
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 |
---|---|---|
|
@@ -10,14 +10,20 @@ | |
"email": "[email protected]" | ||
} | ||
], | ||
"scripts": { | ||
"post-create-project-cmd": [ | ||
"@php beech init" | ||
] | ||
}, | ||
"minimum-stability": "dev", | ||
"require": { | ||
"php": ">=5.3.0", | ||
"bombkiml/beech-cli": "dev-2-new-feature-beech-framework", | ||
"twbs/bootstrap": "4.0.0-beta.2" | ||
}, | ||
"config": { | ||
"preferred-install": "dist", | ||
"sort-packages": true, | ||
"optimize-autoloader": true | ||
} | ||
} | ||
} |
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.