[zi-cvs] packages/com.zzoss.plugin.lib Plugin.php,1.1.1.1,1.2

[email protected] Wed, 14 Jan 2004 07:41:50 -0800
Newsgroups gmane.comp.php.zzoss.installer.cvs
Message-ID <[email protected]>
Update of /cvsroot/zzossinstaller/packages/com.zzoss.plugin.lib
In directory sc8-pr-cvs1:/tmp/cvs-serv23499/com.zzoss.plugin.lib

Modified Files:
	Plugin.php 
Log Message:
- added ZZOSS_InstallerRegistry::getApplicationPathRel();

Index: Plugin.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.plugin.lib/Plugin.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** Plugin.php	22 Dec 2003 17:00:45 -0000	1.1.1.1
--- Plugin.php	14 Jan 2004 15:41:48 -0000	1.2
***************
*** 364,370 ****
          $this->initApplicationSettings();
          
-         $GLOBALS['ZI']['application_data_dir'] = $this->registry->getApplicationPath().'data'.DIRECTORY_SEPARATOR;
-         $GLOBALS['ZI']['plugin_data_dir'] = $GLOBALS['ZI']['application_data_dir'].$plugin_name.DIRECTORY_SEPARATOR;
-         
          // application
          $GLOBALS['ZI']['application_root'] =
--- 364,367 ----
***************
*** 372,376 ****
                  $this->application_settings['application_root'];
          		$GLOBALS['ZI']['application_root'] = $this->application_settings['application_root'];
! 		
          $GLOBALS['ZI']['application_url_rel'] = $this->application_settings['application_url_rel'];
  		$GLOBALS['ZI']['application_url'] = $this->application_settings['application_url'];
--- 369,376 ----
                  $this->application_settings['application_root'];
          		$GLOBALS['ZI']['application_root'] = $this->application_settings['application_root'];
!         
!         $GLOBALS['ZI']['application_data_dir'] = $this->registry->getApplicationPath();
!         $GLOBALS['ZI']['application_data_dir_rel'] = $this->registry->getApplicationPathRel();
!         
          $GLOBALS['ZI']['application_url_rel'] = $this->application_settings['application_url_rel'];
  		$GLOBALS['ZI']['application_url'] = $this->application_settings['application_url'];
***************
*** 425,428 ****
--- 425,430 ----
      function initGlobalVariablesBuild()
      {
+         $GLOBALS['ZI']['plugin_data_dir'] = $this->registry->getApplicationPath().'data'.DIRECTORY_SEPARATOR.$plugin_name.DIRECTORY_SEPARATOR;
+         
          $GLOBALS['ZI']['build_dir'] =
          $GLOBALS['ZI']['plugin_root'] =




-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html