config.php 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. // Configuration file for Sloodle Browser website
  3. // Style of implementation basically copied from Moodle :-)
  4. // Written by: Peter R. Bloomfield
  5. // Setup - do not change this!
  6. unset($CFG);
  7. $CFG = new stdClass();
  8. global $CFG;
  9. // Site location
  10. $CFG->wwwroot = 'http://www.sloodle.org/browser';
  11. $CFG->dirroot = '/usr/local/apache2/htdocs/browser';
  12. // Navigation menu - numeric array of entries.
  13. // Each entry is a numeric array containing {link text, url, caption}
  14. // (url should be relative to the wwwroot above)
  15. $CFG->navigation = array();
  16. $CFG->navigation[] = array('home', '/index.php', 'Go back to the site homepage');
  17. $CFG->navigation[] = array('videos', '/videos.php', 'Watch demo videos of the Sloodle Browser in action');
  18. $CFG->navigation[] = array('get', '/get.php', 'Get the Sloodle browser');
  19. $CFG->navigation[] = array('contact', '/contact.php', 'Get in touch to ask a question or make a suggestion');
  20. // Indicates the currently active page (should match the link text from the navigation menu)
  21. // Should be overridden by individual pages
  22. $CFG->curpage = '';
  23. // Stores the title of a given page (i.e. to be displayed in the browser header bar)
  24. // Should be overridden by individual pages (this will be the default)
  25. $CFG->pagetitle = 'Sloodle Browser';
  26. // The stylesheets to be included -- should be relative to the wwwroot
  27. $CFG->styles = array();
  28. $CFG->styles[] = '/default.css';
  29. // Include our library functionality
  30. require_once($CFG->dirroot.'/lib.php');
  31. ?>