[zi-cvs] packages/com.zzoss.zic.plugin.config install_form.php,1.3,1.4 install_process.php,1.4,1.5
[email protected] Mon, 15 Mar 2004 01:25:00 -0800
| Newsgroups | gmane.comp.php.zzoss.installer.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/zzossinstaller/packages/com.zzoss.zic.plugin.config
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22668
Modified Files:
install_form.php install_process.php
Log Message:
fixed E_ALL allert
Index: install_form.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.zic.plugin.config/install_form.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** install_form.php 5 Mar 2004 14:25:25 -0000 1.3
--- install_form.php 15 Mar 2004 09:24:57 -0000 1.4
***************
*** 25,29 ****
$input_file = $GLOBALS['ZI']['build_dir'].'input.xml';
! if(file_exists($input_file)) {
require_once 'ZZOSS_File/Replace.php';
$replace = new ZZOSS_FileReplace;
--- 25,33 ----
$input_file = $GLOBALS['ZI']['build_dir'].'input.xml';
! if(!file_exists($input_file)) {
! $GLOBALS['ZI']['plugin_log'] .= "Did not find input file '$input_file'.\n";
! } else {
! $GLOBALS['ZI']['plugin_log'] .= "Found input file '$input_file'.\n";
! //ini_set('include_path', '.'.PATH_SEPARATOR.$GLOBALS['ZI']['plugins_re'].DIRECTORY_SEPARATOR.'lib');
require_once 'ZZOSS_File/Replace.php';
$replace = new ZZOSS_FileReplace;
***************
*** 33,36 ****
--- 37,41 ----
if(isset($_REQUEST['ZI_VALUES']) && is_array($_REQUEST['ZI_VALUES']) && count($_REQUEST['ZI_VALUES'])){
+ $GLOBALS['ZI']['plugin_log'] .= "Composing replace values.\n";
$values = $_REQUEST['ZI_VALUES'];
foreach($values as $key => $val){
***************
*** 74,77 ****
--- 79,83 ----
<?php
$input->parseString($xml);
+ $GLOBALS['ZI']['plugin_log'] .= "Show form of '".$GLOBALS['ZI']['package_name']."'.\n";
?>
</table>
Index: install_process.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.zic.plugin.config/install_process.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** install_process.php 5 Mar 2004 14:25:25 -0000 1.4
--- install_process.php 15 Mar 2004 09:24:57 -0000 1.5
***************
*** 30,34 ****
$values = array();
! if(is_array($_REQUEST['ZI_VALUES']) && count($_REQUEST['ZI_VALUES'])){
$values = $_REQUEST['ZI_VALUES'];
foreach($values as $key => $val){
--- 30,34 ----
$values = array();
! if(isset($_REQUEST['ZI_VALUES']) && is_array($_REQUEST['ZI_VALUES']) && count($_REQUEST['ZI_VALUES'])){
$values = $_REQUEST['ZI_VALUES'];
foreach($values as $key => $val){
***************
*** 91,94 ****
--- 91,95 ----
require_once 'ZZOSS_File/Replace.php';
$replace = new ZZOSS_FileReplace;
+ $replace->replace($replace_values);
echo $pkg_data_dir = $GLOBALS['ZI']['plugin_data_dir'].DIRECTORY_SEPARATOR.$GLOBALS['ZI']['package_name'].DIRECTORY_SEPARATOR;
***************
*** 118,122 ****
$replace->file($src_file);
- $replace->replace($replace_values);
$replace->writeout($dest_file);
$GLOBALS['ZI']['plugin_log'] .= "* Parsed '".$src_file."' and moved it to '".$dest_file."'\n";
--- 119,122 ----
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click