[zi-cvs] packages/com.zzoss.zic.plugin.filerole role_php.php,1.8,1.9

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.filerole
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32569/com.zzoss.zic.plugin.filerole

Modified Files:
	role_php.php 
Log Message:
make plugins sandbox work

Index: role_php.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.zic.plugin.filerole/role_php.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** role_php.php	5 Apr 2004 16:40:33 -0000	1.8
--- role_php.php	6 Apr 2004 14:45:18 -0000	1.9
***************
*** 24,32 ****
      */
      
!     //ini_set('include_path', '.'.PATH_SEPARATOR.$GLOBALS['ZI']['plugins_re'].DIRECTORY_SEPARATOR.'lib');
      
      
-     echo '['.$GLOBALS['ZI']['package_action'].' '.$GLOBALS['ZI']['package_name'].'-'.$GLOBALS['ZI']['package_version'].']'."\n";
- 
      if(
          isset($GLOBALS['ZI']['file_role']) &&
--- 24,36 ----
      */
      
!     //echo $GLOBALS['ZI']['plugins_re'];
      
+     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(
          isset($GLOBALS['ZI']['file_role']) &&



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