Created
June 5, 2016 11:35
-
-
Save RaeesBhatti/c00e786d886202f8891de9fd9ba782c4 to your computer and use it in GitHub Desktop.
PHP entrypoint for HackLang app
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 | |
// Loader file of your app | |
require(__DIR__.'/core/app-load.php'); | |
// App class is in HackLang and takes ImmMap $Get, ImmMap $Post, ImmMap $Server, ImmMap $Cookie as parameter | |
new App(new HH\ImmMap($_GET), new HH\ImmMap($_POST), new HH\ImmMap($_SERVER), new HH\ImmMap($_COOKIE)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment