phpDocumentor GloryLands
System
[ class tree: GloryLands ] [ index: GloryLands ] [ all elements ]

Source for file bootstrap.php

Documentation is available at bootstrap.php

  1. <?php
  2. /**
  3.   * Glorylands Engine Bootstrap File
  4.   * This file performs all the required initializations that must be done
  5.   * before any game action.
  6.   *
  7.   * <pre>
  8.   * GloryLands, a Web-Based, Massive Multiplayer Online RPG/Strategy Game
  9.   * Copyright (C) 2008-09  John Haralampidis <johnys2@gmail.com>
  10.   *
  11.   * This program is free software: you can redistribute it and/or modify
  12.   * it under the terms of the GNU General Public License as published by
  13.   * the Free Software Foundation, either version 3 of the License, or
  14.   * (at your option) any later version.
  15.   *
  16.   * This program is distributed in the hope that it will be useful,
  17.   * but WITHOUT ANY WARRANTY; without even the implied warranty of
  18.   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  19.   * GNU General Public License for more details.
  20.   *
  21.   * You should have received a copy of the GNU General Public License
  22.   * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  23.   *
  24.   * For any help/suggestions or troubleshooting you can see the
  25.   * project community website at <http://www.glorylands.gr>
  26.   * </pre>
  27.   *
  28.   * @license GNU General Public License 3
  29.   * @package GloryLands
  30.   * @subpackage System
  31.   * @author John Haralampidis <johnys2@gmail.com>
  32.   * @copyright Copyright (C) 2007-2009, John Haralampidis
  33.   * @version 1.0
  34.   */
  35.  
  36. // Include all the required libraries (Load order is important)
  37. include "lib/common/gltools.php";
  38. include "lib/common/errors.php";
  39. include "lib/common/glconfig.php";
  40. include "lib/db/db.php";
  41. include "lib/db/db.structured.php";
  42. include "lib/db/structures/struct.ordered.php";
  43. include "lib/common/cache.php";
  44. include "lib/common/optimizer.php";
  45. include "lib/common/gldataset.php";
  46. include "lib/dom/gldom.php";
  47. include "lib/dom/gldom_element.php";
  48. include "lib/interface/gltemplate.php";
  49. include "lib/interface/glsmarttemplate.php";
  50. include "lib/system/gl.php";
  51. include "lib/system/glstreamdef.php";
  52. include "lib/system/glassemblyline.php";
  53. include "lib/extensions/glhooks.php";
  54. include "lib/extensions/glmodule.php";
  55. include "lib/extensions/glmodules.php";
  56. include "lib/gloo/gloolink.php";
  57. include "lib/gloo/gloobject.php";
  58. include "lib/dom/gloobject_stage.php";
  59. include "lib/extensions/glIPC.php";
  60.  
  61. // Initialize glroylands
  62. GL::Initialize();
  63.  
  64. // Register the GL::finalize as a shutdown function
  65. register_shutdown_function(array('GL''finalize'));
  66.  
  67. ?>

Documentation generated on Tue, 13 Oct 2009 23:48:40 +0300 by phpDocumentor 1.4.1