2010-03-04 05:39:02 +01:00
|
|
|
<?php
|
2011-01-11 02:35:59 +01:00
|
|
|
/**
|
|
|
|
* Documentation Configuration
|
|
|
|
*
|
|
|
|
* Please override any of these options in your own projects _config.php file.
|
2012-04-08 11:23:49 +02:00
|
|
|
* For more information and documentation see docviewer/docs/en
|
2011-01-11 02:35:59 +01:00
|
|
|
*/
|
|
|
|
|
2012-04-08 11:23:49 +02:00
|
|
|
if(!defined('DOCVIEWER_PATH')) {
|
|
|
|
define('DOCVIEWER_PATH', dirname(__FILE__));
|
|
|
|
}
|
|
|
|
|
|
|
|
if(!defined('DOCVIEWER_DIR')) {
|
|
|
|
define('DOCVIEWER_DIR', array_pop(explode(DIRECTORY_SEPARATOR, DOCVIEWER_PATH)));
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-01-21 05:10:41 +01:00
|
|
|
// default location for documentation. If you want this under a custom url
|
|
|
|
// define your own rule in your mysite/_config.php
|
2010-03-04 05:39:02 +01:00
|
|
|
Director::addRules(100, array(
|
|
|
|
'dev/docs' => 'DocumentationViewer'
|
2011-02-11 02:29:25 +01:00
|
|
|
));
|