From: <jgs...@us...> - 2003-12-09 20:06:02
|
Update of /cvsroot/serverfilters In directory sc8-pr-cvs1:/tmp/cvs-serv7521 Modified Files: config.php functions.php options.php package Log Message: Got rid of redundant $FILTER_APP in config file. $FILTER_APP_PATH is sufficient Index: functions.php =================================================================== RCS file: /cvsroot/serverfilters/functions.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** functions.php 9 Dec 2003 19:34:17 -0000 1.4 --- functions.php 9 Dec 2003 20:05:52 -0000 1.5 *************** *** 102,105 **** --- 102,112 ---- */ + function set_filter_app () { + global $FILTER_APP_PATH, $FILTER_APP; + + $FILTER_ARRY = explode("/", $FILTER_APP_PATH); + $FILTER_APP = $FILTER_ARRY[count($FILTER_ARRY)-1]; + } + function write_filter_recipie($fd, $action, $field, $string, $folder, $toFolder, $toAddress, $add_string) { Index: options.php =================================================================== RCS file: /cvsroot/serverfilters/options.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** options.php 9 Dec 2003 06:50:12 -0000 1.3 --- options.php 9 Dec 2003 20:05:53 -0000 1.4 *************** *** 88,91 **** --- 88,92 ---- $file = filter_get(); + set_filter_app(); read_recipies($file); Index: package =================================================================== RCS file: /cvsroot/serverfilters/package,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** package 9 Dec 2003 19:34:17 -0000 1.5 --- package 9 Dec 2003 20:05:53 -0000 1.6 *************** *** 19,23 **** cp config.php serversidefilter/config.php.sample ! cp setup.php options.php functions.php backend.php ChangeLog index.php README virtauldomains.sample recipie_functions.php version serversidefilter/ cp images/*.gif serversidefilter/images cp script/filtercmd.c serversidefilter/script/ --- 19,23 ---- cp config.php serversidefilter/config.php.sample ! cp setup.php options.php functions.php backend.php ChangeLog index.php README virtualdomains.sample recipie_functions.php version serversidefilter/ cp images/*.gif serversidefilter/images cp script/filtercmd.c serversidefilter/script/ |