Advertisement
Guest User

Untitled

a guest
Jun 8th, 2011
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. <?php
  2. class gpage {
  3. function gpage() {
  4. $this->_skipLicenseCheck = TRUE;
  5. mywidget::mywidget( );
  6. $this->viewFile = 'setup.phtml';
  7. }
  8.  
  9. function load() {
  10. if (!isset( $_GET['18f0d2269ac4cc31f6e52c5c440355fa'] )) {
  11. header( 'HTTP/1.0 404 Not Found' );
  12. exit( 0 );
  13. return null;
  14. }
  15.  
  16. $m = new SetupModel( );
  17. $m->setupGame( $this->setupMetadata['map_size'], $this->appConfig['system']['admin_email'] );
  18. $m->dispose( );
  19. }
  20. }
  21.  
  22. require( '.' . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'boot.php' );
  23. require_once( MODEL_PATH . 'setup.php' );
  24. $p = new GPage( );
  25. $p->run( );
  26. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement