Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class gpage {
- function gpage() {
- $this->_skipLicenseCheck = TRUE;
- mywidget::mywidget( );
- $this->viewFile = 'setup.phtml';
- }
- function load() {
- if (!isset( $_GET['18f0d2269ac4cc31f6e52c5c440355fa'] )) {
- header( 'HTTP/1.0 404 Not Found' );
- exit( 0 );
- return null;
- }
- $m = new SetupModel( );
- $m->setupGame( $this->setupMetadata['map_size'], $this->appConfig['system']['admin_email'] );
- $m->dispose( );
- }
- }
- require( '.' . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'boot.php' );
- require_once( MODEL_PATH . 'setup.php' );
- $p = new GPage( );
- $p->run( );
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement