summaryrefslogtreecommitdiffstats
path: root/application/config
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-02-05 21:49:12 +0100
committerFlorian Pritz <bluewind@xinu.at>2015-02-05 21:49:12 +0100
commitd3726c7c0e497def97efcf610fdcac9bbebb0f3e (patch)
treebed39120b332f763c65aa5fd63abec3941ce7bf9 /application/config
parentdb8a70bbcb941fde96a0ac98919702c49814d0c5 (diff)
Add simple testsuite
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/config')
-rw-r--r--application/config/config.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/application/config/config.php b/application/config/config.php
index 2748e97c0..16f5af4bb 100644
--- a/application/config/config.php
+++ b/application/config/config.php
@@ -126,7 +126,11 @@ $config['subclass_prefix'] = 'MY_';
| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
|
*/
-$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
+if (php_sapi_name() == "cli") {
+ $config['permitted_uri_chars'] = '';
+} else {
+ $config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
+}
/*