[zi-cvs] packages/com.zzoss.installer.lib ConfigInput.php,1.4,1.5
Sandro Zic <[email protected]> Tue, 11 May 2004 18:42:23 +0000
| Newsgroups | gmane.comp.php.zzoss.installer.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/zzossinstaller/packages/com.zzoss.installer.lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7387/com.zzoss.installer.lib
Modified Files:
ConfigInput.php
Log Message:
turn on/off debugging of Win filesystem (problem of same file and dir name)
Index: ConfigInput.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.installer.lib/ConfigInput.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** ConfigInput.php 6 Apr 2004 19:11:57 -0000 1.4
--- ConfigInput.php 11 May 2004 18:42:20 -0000 1.5
***************
*** 53,56 ****
--- 53,58 ----
if($element == "widget"){
+ $is_shown = false;
+
// check if a certain mode must be met
if(isset($attribs['mode']) && strlen($attribs['mode'])){
***************
*** 58,71 ****
//echo $attribs['variable'];
//print_r($modes);
! if(!in_array($GLOBALS['ZI']['mode'], $modes)){
// check if it's a widget for developing the installer itself
// which we should display
! if($GLOBALS['ZI']['installer_dev']){
! if(!in_array('dev_inst', $modes)){
! return false;
! }
! } else {
! return false;
! }
}
}
--- 60,72 ----
//echo $attribs['variable'];
//print_r($modes);
! if(
! !in_array($GLOBALS['ZI']['mode'], $modes) &&
// check if it's a widget for developing the installer itself
// which we should display
! !($GLOBALS['ZI']['installer_dev'] && in_array('dev_inst', $modes)) &&
! // check if it's for windows or *nix
! !in_array(strtolower(substr(PHP_OS, 0, 3)), $modes)
! ){
! return false;
}
}
***************
*** 76,91 ****
//echo $attribs['variable'];
//print_r($modes);
! if(in_array($GLOBALS['ZI']['mode'], $modes)){
! return false;
! } else {
// check if it's a widget for developing the installer itself
! // which we are not supposed to display
! if($GLOBALS['ZI']['installer_dev']){
! if(in_array('dev_inst', $modes)){
! return false;
! }
! } else {
! return false;
! }
}
}
--- 77,89 ----
//echo $attribs['variable'];
//print_r($modes);
! if(
! in_array($GLOBALS['ZI']['mode'], $modes) &&
// check if it's a widget for developing the installer itself
! // which we should display
! ($GLOBALS['ZI']['installer_dev'] && in_array('dev_inst', $modes)) &&
! // check if it's for windows or *nix
! in_array(strtolower(substr(PHP_OS, 0, 3)), $modes)
! ){
! return false;
}
}
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3