Forma LMS PHP Cross Reference Learning Management Systems

Source: /base.php - 65 lines - 2831 bytes - Summary - Text - Print

Description: Subsystem folder ------------------------------------------------------------------------- addons path admin area (core) path lms area path cms area path scs area path i18n path libraries path file uploaded path (this directory and his sub-directories must be writable and readable by apache) ------------------------------------------------------------------------- If you need to change the main folders's name of the Forma dir you only need to change the followings constant, for example from: define( '_folder_lms_',     'appLms' ); to: define( '_folder_lms_',     'lms' ); in order to change the lms main dir to "lms"

   1  <?php defined("IN_FORMA") or die('Direct access is forbidden.');
   2  
   3  /* ======================================================================== \
   4  |   FORMA - The E-Learning Suite                                            |
   5  |                                                                           |
   6  |   Copyright (c) 2013 (Forma)                                              |
   7  |   http://www.formalms.org                                                 |
   8  |   License  http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt           |
   9  |                                                                           |
  10  |   from docebo 4.0.5 CE 2008-2012 (c) docebo                               |
  11  |   License http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt            |
  12  \ ======================================================================== */
  13  
  14  /** absolute base path to the main directory of the docebo installation */
  15  define('_base_', dirname(__FILE__));
  16  
  17  /**
  18   * Subsystem folder
  19   * -------------------------------------------------------------------------
  20   * addons path
  21   * admin area (core) path
  22   * lms area path
  23   * cms area path
  24   * scs area path
  25   * i18n path
  26   * libraries path
  27   * file uploaded path (this directory and his sub-directories must be writable and readable by apache)
  28   * -------------------------------------------------------------------------
  29   * If you need to change the main folders's name of the Forma dir you only need to change the followings constant, for example from:
  30   *    define( '_folder_lms_',     'appLms' );
  31   * to:
  32   *    define( '_folder_lms_',     'lms' );
  33   * in order to change the lms main dir to "lms"
  34   */
  35  define( '_folder_addons_',     'addons' );
  36  define( '_folder_adm_',     'appCore' );
  37  define( '_folder_lms_',     'appLms' );
  38  define( '_folder_cms_',     'appCms' );
  39  define( '_folder_scs_',     'appScs' );
  40  define( '_folder_i18n_',     'i18n' );
  41  define( '_folder_lib_',     'lib' );
  42  define( '_folder_files_',     'files' );
  43  define( '_folder_files_lms_',     'appLms' );
  44  define( '_folder_files_app_',     'appCore' );
  45  define( '_folder_files_com_',     'common' );
  46  define( '_folder_plugins_',     'plugins' );
  47  
  48  /** absolute address to the addons folder */
  49  define( '_addons_',        _base_.'/'._folder_addons_ );
  50  define( '_adm_',         _base_.'/'._folder_adm_ );
  51  define( '_lms_',         _base_.'/'._folder_lms_ );
  52  define( '_cms_',         _base_.'/'._folder_cms_ );
  53  define( '_scs_',         _base_.'/'._folder_scs_ );
  54  define( '_i18n_',         _base_.'/'._folder_i18n_ );
  55  define( '_lib_',         _base_.'/'._folder_lib_ );
  56  define( '_files_',        _base_.'/'._folder_files_ );
  57  define( '_files_lms_',    _base_.'/'._folder_files_lms_ );
  58  define( '_files_app_',    _base_.'/'._folder_files_app_ );
  59  define( '_files_com_',    _base_.'/'._folder_files_com_ );
  60  
  61  
  62  define( '_plugins_',     _base_.'/'._folder_plugins_ );
  63  
  64  /** other nice setting */
  65  define( '_after_login_', 'lms/elearning/show' );

title

Description

title

Description

title

Description

title

title

Body