Source for file config.php

Documentation is available at config.php

  1. <?php
  2.     /**
  3.     * Sloodle core script.
  4.     *
  5.     * Sets up the basic Sloodle information, and includes the necessary Moodle data/functionality.
  6.     *
  7.     * @package sloodle
  8.     *
  9.     */
  10.  
  11.     // Pull in the main moodle config
  12.     // NB the following is necessary for when we pull in this config.php from a module under sloodle/mod
  13.     require_once (realpath(dirname(__FILE__"/" "../../config.php"));
  14.  
  15.     define('SLOODLE_WWWROOT'$CFG->wwwroot.'/mod/sloodle');
  16.     define('SLOODLE_DIRROOT'$CFG->dirroot.'/mod/sloodle');
  17.     define('SLOODLE_VERSION'0.21)// This is the release version, not the module version (which is in version.php)
  18.  
  19. ?>

Documentation generated on Tue, 04 Mar 2008 15:08:33 +0000 by phpDocumentor 1.4.0