Changeset 52
- Timestamp:
- Jan 22, 2006 1:10:59 AM (18 years ago)
- Location:
- tags/1.0.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/1.0.0/bin/install.sh
r51 r52 14 14 15 15 # If old log locations exists, copy to new directory. 16 if [ -f "$sitebase/codebase/logs/app_error_log" ] || [ -f "$sitebase/codebase/logs/php_error_log" ]; then 16 #if [ -f "$sitebase/codebase/logs/app_error_log" ] || [ -f "$sitebase/codebase/logs/php_error_log" ]; then 17 if [ `ls -1 $sitebase/codebase/logs/ | wc -l` -gt 0 ]; then 17 18 echo "Moving logs to new log directory: $sitebase/log/"; 18 mv -v --backup "$sitebase/codebase/logs/*" "$sitebase/log/";19 mv -vfb $sitebase/codebase/logs/* $sitebase/log/; 19 20 fi 20 21 -
tags/1.0.0/lib/App.inc.php
r51 r52 585 585 global $CFG; 586 586 587 if ('on' != getenv('HTTPS') && $CFG->ssl_enabled && preg_match('/mod_ssl/i', getenv('SERVER_SOFTWARE'))) { 587 if (function_exists('apache_get_modules')) { 588 $modules = apache_get_modules(); 589 } else { 590 // It's safe to assume we have mod_ssl if we can't determine otherwise. 591 $modules = array('mod_ssl'); 592 } 593 594 if ('on' != getenv('HTTPS') && $CFG->ssl_enabled && in_array('mod_ssl', $modules)) { 588 595 raiseMsg(sprintf(_("Secure SSL connection made to %s"), $CFG->ssl_domain), MSG_NOTICE, __FILE__, __LINE__); 589 596 // Always append session because some browsers do not send cookie when crossing to SSL URL.
Note: See TracChangeset
for help on using the changeset viewer.