[zi-cvs] packages/com.zzoss.installer.lib Setup.php,1.4,1.5
[email protected] Mon, 08 Mar 2004 22:12:07 -0800
| 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-serv28154
Modified Files:
Setup.php
Log Message:
fixed undefined index
Index: Setup.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.installer.lib/Setup.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** Setup.php 29 Jan 2004 14:09:16 -0000 1.4
--- Setup.php 9 Mar 2004 06:12:04 -0000 1.5
***************
*** 196,200 ****
if(!strlen($this->data_dir)){
$this->inits = ZZOSS_InstallerUtils::unserializeFromFile($this->init_file);
! $this->data_dir = $this->inits[getcwd()];
$this->root = $this->inits['_root'];
}
--- 196,202 ----
if(!strlen($this->data_dir)){
$this->inits = ZZOSS_InstallerUtils::unserializeFromFile($this->init_file);
! if(isset($this->inits[getcwd()])){
! $this->data_dir = $this->inits[getcwd()];
! }
$this->root = $this->inits['_root'];
}
-------------------------------------------------------
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