Xaraya / Postnuke CVS Notices - Message

Note: this list is kept only as a demonstration for CVSNotice. For the latest CVS notices, see the Xaraya and Postnuke sites

View Statistics - Next Notice - Previous Notice

Directory filter : [ all ] / postnuke_modules / postcalendar [ view in CVS ]

Date Directory [filter] File(s) [view] Author [filter]
02 Oct 2002 00:30:07postnuke_modules/postcalendarpnuserapi.php,1.107,1.108Roger Raymond
 safe mode fix for Smarty compile directory

Update of /home/cvsroot/postnuke_modules/postcalendar
In directory ns7.hostnuke.net:/tmp/cvs-serv11331

Modified Files:
	pnuserapi.php 
Log Message:
safe mode fix for Smarty compile directory


Index: pnuserapi.php
===================================================================
RCS file: /home/cvsroot/postnuke_modules/postcalendar/pnuserapi.php,v
retrieving revision 1.107
retrieving revision 1.108
diff -C2 -d -r1.107 -r1.108
*** pnuserapi.php	2 Oct 2002 00:16:05 -0000	1.107
--- pnuserapi.php	2 Oct 2002 00:30:05 -0000	1.108
***************
*** 25,29 ****
   *
   */
- 
  //************************************************************************
  //  define constants used to make the code more readable
--- 25,28 ----
***************
*** 115,119 ****
          $this->cache_dir        =   "modules/$pcDir/pntemplates/cache";
          $this->cache_lifetime   =   60*60*24*1; // 1 day
!         $this->use_sub_dirs     =   false;
          // register postcalendar custom functions
          $this->register_function('pc_date_format','postcalendar_smarty_pcDateFormat');
--- 114,123 ----
          $this->cache_dir        =   "modules/$pcDir/pntemplates/cache";
          $this->cache_lifetime   =   60*60*24*1; // 1 day
!         // check for safe mode and set accordingly
!         if(ini_get('safe_mode') > 0) {
!             $this->use_sub_dirs = false;
!         } else {
!             $this->use_sub_dirs = true;
!         }
          // register postcalendar custom functions
          $this->register_function('pc_date_format','postcalendar_smarty_pcDateFormat');


Directory filter : [ all ] / postnuke_modules / postcalendar [ view in CVS ]

View Statistics - Next Notice - Previous Notice


Visit Developer Site - Browse CVS Repository Syndicate via backend.rss
(max. once per hour please)
Powered by CVSNotice 0.1.3