silverstripe-blog/_config.php

11 lines
229 B
PHP
Executable File

<?php
use SilverStripe\Control\Director;
/**
* Fetches the name of the current module folder name.
*
* @return string
**/
define('BLOGGER_DIR', ltrim(Director::makeRelative(realpath(__DIR__)), DIRECTORY_SEPARATOR));