aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-01-28 14:01:50 +0100
committerFabio Comuni <fabrix.xm@gmail.com>2011-01-28 14:01:50 +0100
commit517d6812dabfbb93b34045048e8894fb54d220a7 (patch)
tree63663bd1cd5a6407d9ddacbff795a41e2f3963b8 /boot.php
parent3a575cdfdef10fdff6b96ef1bb71c19e441ff895 (diff)
downloadvolse-hubzilla-517d6812dabfbb93b34045048e8894fb54d220a7.tar.gz
volse-hubzilla-517d6812dabfbb93b34045048e8894fb54d220a7.tar.bz2
volse-hubzilla-517d6812dabfbb93b34045048e8894fb54d220a7.zip
cal proc_run hook before string escape
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/boot.php b/boot.php
index 207faaf48..d3187648c 100644
--- a/boot.php
+++ b/boot.php
@@ -1655,7 +1655,6 @@ function attribute_contains($attr,$s) {
if(! function_exists('logger')) {
function logger($msg,$level = 0) {
-
$debugging = get_config('system','debugging');
$loglevel = intval(get_config('system','loglevel'));
$logfile = get_config('system','logfile');
@@ -2233,15 +2232,13 @@ function link_compare($a,$b) {
if(! function_exists('run_proc')) {
function proc_run($cmd){
$args = func_get_args();
+ call_hooks("proc_run", $args);
+
foreach ($args as &$arg){
if(is_string($arg)) $arg='"'.$arg.'"';
}
$cmdline = implode($args," ");
-
- call_hooks("proc_run", $args);
-
proc_close(proc_open($cmdline." &",array(),$foo));
}}
-?>
-
+?> \ No newline at end of file