silverstripe-docsviewer/_config.php

18 lines
421 B
PHP
Raw Normal View History

<?php
/**
* Documentation Configuration
*
* Please override any of these options in your own projects _config.php file.
* For more information and documentation see docsviewer/docs/en
*/
if(!defined('DOCSVIEWER_PATH')) {
2016-12-02 03:31:18 +01:00
define('DOCSVIEWER_PATH', dirname(__FILE__));
}
if(!defined('DOCSVIEWER_DIR')) {
2016-12-02 03:31:18 +01:00
$dir = explode(DIRECTORY_SEPARATOR, DOCSVIEWER_PATH);
2012-04-14 07:00:22 +02:00
2016-12-02 03:31:18 +01:00
define('DOCSVIEWER_DIR', array_pop($dir));
}