Created
December 27, 2013 22:47
-
-
Save guiled/8153737 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<?php | |
namespace Application\Controller { | |
use Sohoa\Framework\Kit; | |
class Main extends Kit { | |
public function indexAction() { | |
$this->greut->render(); | |
} | |
} | |
} |
This file contains hidden or 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
Bouya |
This file contains hidden or 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
<?php | |
namespace { | |
use Sohoa\Framework\Framework; | |
use Sohoa\Framework\View\Greut; | |
require_once __DIR__ . '/../vendor/autoload.php'; | |
$framework = new Framework(); | |
$framework->view = new Greut(); | |
$framework->run(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment