This adds the option to enable or disable the relative urls functionality.

I added a true/false switch to enable/disable the relative urls in roots_config.php. Relative urls are enabled by default.
I moved the conditions that previously triggered the relative urls functionality to a new function enable_root_relative_urls() which returns a boolean true/false.
I replaced the conditions i moved by a test for enable_root_relative_urls() true/false value.
This commit is contained in:
elflo
2012-05-03 17:25:40 +02:00
parent 66fa8d5d55
commit 522cf8cb7a
2 changed files with 15 additions and 10 deletions

View File

@@ -1,5 +1,6 @@
<?php
define('ROOT_RELATIVE_URLS', true);
define('POST_EXCERPT_LENGTH', 40);
define('BOOTSTRAP_RESPONSIVE', true);
define('WRAP_CLASSES', 'container');