summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-02-24 17:56:40 +0100
committerTheTroll <trolldev@gmail.com>2010-02-24 17:56:40 +0100
commitcd09c60e20dba20253b2ad7d9f9c1b8b17324ce6 (patch)
tree2fea61a6590b6d4a670ea8b211d915b9f499c4ae
parentff270318f7859bb99de1dc679ad3093c31f304dd (diff)
downloadistreamdev-cd09c60e20dba20253b2ad7d9f9c1b8b17324ce6.tar.gz
istreamdev-cd09c60e20dba20253b2ad7d9f9c1b8b17324ce6.tar.bz2
Fixed url with char %
-rwxr-xr-xincludes/include.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/include.php b/includes/include.php
index 716d1a6..f8819dd 100755
--- a/includes/include.php
+++ b/includes/include.php
@@ -109,6 +109,8 @@ function start_stream($type, $name, $title, $desc, $qname, $qparams, $category,
default:
$cmd = "";
}
+
+ $cmd = str_replace('%', '%%', $cmd);
exec ($cmd);
// Write streaminfo