[zi-cvs] packages/com.zzoss.zic.plugin.config install.php,1.2,1.3 install_process.php,1.9,1.10

Sandro Zic <[email protected]> Tue, 06 Apr 2004 14:45:20 +0000
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-serv32569/com.zzoss.zic.plugin.config

Modified Files:
	install.php install_process.php 
Log Message:
make plugins sandbox work

Index: install.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.zic.plugin.config/install.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** install.php	5 Apr 2004 16:40:33 -0000	1.2
--- install.php	6 Apr 2004 14:45:17 -0000	1.3
***************
*** 24,28 ****
      */
      
!     //ini_set('include_path', '.'.PATH_SEPARATOR.$GLOBALS['ZI']['plugins_re'].DIRECTORY_SEPARATOR.'lib');
      
      if($GLOBALS['ZI']['plugin_mode'] == 'post'){
--- 24,33 ----
      */
      
!     ini_set('include_path', '.'.PATH_SEPARATOR.$GLOBALS['ZI']['plugins_re'].DIRECTORY_SEPARATOR.'lib');
!     
!     require_once 'PEAR.php';
!     PEAR::setErrorHandling(PEAR_ERROR_PRINT);
!     
!     require_once 'System.php';
      
      if($GLOBALS['ZI']['plugin_mode'] == 'post'){

Index: install_process.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.zic.plugin.config/install_process.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** install_process.php	5 Apr 2004 16:40:33 -0000	1.9
--- install_process.php	6 Apr 2004 14:45:17 -0000	1.10
***************
*** 34,38 ****
      
      require_once 'ZZOSS_File/File.php';
!     ZZOSS_File::serialize($input_reg, $_REQUEST['ZI_VALUES']);
      
  	if(!isset($replace_values)){
--- 34,40 ----
      
      require_once 'ZZOSS_File/File.php';
!     if(isset($_REQUEST['ZI_VALUES'])){
!         ZZOSS_File::serialize($input_reg, $_REQUEST['ZI_VALUES']);
!     }
      
  	if(!isset($replace_values)){



-------------------------------------------------------
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