linea21-core
[ class tree: linea21-core ] [ index: linea21-core ] [ all elements ]

Source for file access.php

Documentation is available at access.php

  1. <?php
  2. /**
  3.  * @package linea21.core
  4.  * @subpackage library
  5.  * @author Simon Georget <simon@linea21.com>
  6.  * @version $id SVN
  7.  * @access public
  8.  * @license http://opensource.org/licenses/gpl-3.0.html
  9.  */
  10. include('../config/define.php');
  11. include('../languages/'.U_L'/lang_library.'.CHARSET.'.php');
  12.  
  13. //////////// Check Inclusion de pages ////////////
  14. if (!isset($_SESSION['authenticated'])) {
  15.   include_once("../lib/lib_common.php");
  16.   ReloadIndex('admin');
  17. }
  18. ////////////
  19.  
  20. // if ckfinder is active
  21. if(defined('CKFINDER_ENABLED'&& CKFINDER_ENABLED == true{
  22.  
  23.   require_once('../lib/vendor/ckfinder/ckfinder.php');
  24.   $finder new CKFinder();
  25.   $finder->BasePath '../lib/vendor/ckfinder/';
  26.   $finder->SelectFunction 'ShowFileInfo';
  27.   $finder->Height '100%';
  28.   $finder->Create();
  29.  
  30. else {
  31.   // we include the default basic shared Library
  32.   require_once('default_access.php');
  33. }
  34. ?>

Documentation generated on Thu, 03 May 2012 15:01:48 +0200 by phpDocumentor 1.4.1