Advertisement
Al1337w0rm

Index Backup - Open Journal System

Jan 8th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.79 KB | None | 0 0
  1. <?php
  2.  
  3. /**
  4.  * @mainpage OJS API Reference
  5.  *
  6.  * Welcome to the OJS API Reference. This resource contains documentation
  7.  * generated automatically from the OJS source code.
  8.  *
  9.  * The design of Open %Journal Systems 2.x is heavily structured for
  10.  * maintainability, flexibility and robustness. For this reason it may seem
  11.  * complex when first approached. Those familiar with Sun's Enterprise Java
  12.  * Beans technology or the Model-View-Controller (MVC) pattern will note many
  13.  * similarities.
  14.  *
  15.  * As in a MVC structure, data storage and representation, user interface
  16.  * presentation, and control are separated into different layers. The major
  17.  * categories, roughly ordered from "front-end" to "back-end," follow:
  18.  * - Smarty templates, which are responsible for assembling HTML pages to
  19.  *   display to users;
  20.  * - Page classes, which receive requests from users' web browsers, delegate
  21.  *   any required processing to various other classes, and call up the
  22.  *   appropriate Smarty template to generate a response;
  23.  * - Action classes, which are used by the Page classes to perform non-trivial
  24.  *   processing of user requests;
  25.  * - Model classes, which implement PHP objects representing the system's
  26.  *   various entities, such as Users, Articles, and Journals;
  27.  * - Data Access Objects (DAOs), which generally provide (amongst others)
  28.  *   update, create, and delete functions for their associated Model classes,
  29.  *   are responsible for all database interaction;
  30.  * - Support classes, which provide core functionalities, miscellaneous common
  31.  *
  32.  * As the system makes use of inheritance and has consistent class naming
  33.  * conventions, it is generally easy to tell what category a particular class
  34.  * falls into.
  35.  * For example, a Data Access Object class always inherits from the DAO class,
  36.  * has a Class name of the form [Something]%DAO, and has a filename of the form
  37.  * [Something]%DAO.inc.php.
  38.  *
  39.  * To learn more about developing OJS, there are several additional resources
  40.  * that may be useful:
  41.  * - The docs/README document
  42.  * - The PKP support forum at http://forum.pkp.sfu.ca
  43.  * - The technical reference (and other documents), available at
  44.  *   http://pkp.sfu.ca/ojs_documentation
  45.  *
  46.  * @file index.php
  47.  *
  48.  * Copyright (c) 2013-2015 Simon Fraser University Library
  49.  * Copyright (c) 2003-2015 John Willinsky
  50.  * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
  51.  *
  52.  * @ingroup index
  53.  *
  54.  * Bootstrap code for OJS site. Loads required files and then calls the
  55.  * dispatcher to delegate to the appropriate request handler.
  56.  */
  57.  
  58. // Initialize global environment
  59. define('INDEX_FILE_LOCATION', __FILE__);
  60. require('./lib/pkp/includes/bootstrap.inc.php');
  61.  
  62. // Serve the request
  63. $application =& PKPApplication::getApplication();
  64. $application->execute();
  65.  
  66. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement