[imc-sf-coders] CVS update of sf-active/sf-active/shared/classes
(producer_class.inc)
Bart M
pseudopunk at codecoop.org
Wed Dec 28 04:34:37 PST 2005
Date: Wednesday, December 28, 2005 @ 13:34:37
Author: pseudopunk
Path: /cvsroot/sf-active/sf-active/sf-active/shared/classes
Modified: producer_class.inc
fixing bug created while fixing the previous one :-)
Index: sf-active/sf-active/shared/classes/producer_class.inc
diff -u sf-active/sf-active/shared/classes/producer_class.inc:1.24 sf-active/sf-active/shared/classes/producer_class.inc:1.25
--- sf-active/sf-active/shared/classes/producer_class.inc:1.24 Wed Dec 28 13:09:07 2005
+++ sf-active/sf-active/shared/classes/producer_class.inc Wed Dec 28 13:34:37 2005
@@ -406,7 +406,7 @@
$p_rule['cur_output'] = str_replace('/'.$key, '/'.$value, $p_rule['cur_output']);
}
}
- $p_rule['cur_output'] = str_replace('//', '/', $p_rule['cur_output']);
+ $p_rule['cur_output'] = str_replace(array('//', '..'), array('/', '.'), $p_rule['cur_output']);
/*
if($this->get_clear_path() && ereg(SF_STATIC_PATH, $p_rule['output'])){
$p_rule['cur_output'] = str_replace($p_rule['langpath'].'/', '', $p_rule['cur_output']);
More information about the imc-sf-coders
mailing list