[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/ -> resserver.php (source)

   1  <?php
   2  
   3      
   4  
   5      /**
   6       * Implementation of a very simple resource server.
   7       *
   8       * As a parameter, receives the name of a resource and it will take
   9       * care of fetching it.
  10       */
  11      if (!defined( "PLOG_CLASS_PATH" )) {
  12          define( "PLOG_CLASS_PATH", dirname(__FILE__)."/");
  13      }
  14  
  15      include_once ( PLOG_CLASS_PATH."class/bootstrap.php" );
  16      lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
  17  
  18      // the functionality of the old ressever.php file have been moved
  19      // to the action ResourceServerAction and ResourceServerView for better
  20      // integration with the reset of the framework. This file has been kept
  21      // here for compatibility reasons and it is still referenced in all urls
  22      // generated internally that point to resources so please DO NOT REMOVE IT!
  23      $_REQUEST["op"] = "ResourceServer";
  24      
  25      $config =& Config::getConfig();
  26      $indexPage = $config->getValue( "script_name", "index.php" );
  27      
  28      lt_include( PLOG_CLASS_PATH.$indexPage );
  29  ?>


Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics