Changeset 348 for trunk/lib/App.inc.php
- Timestamp:
- Mar 18, 2009 6:19:02 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/App.inc.php
r344 r348 106 106 'log_filename' => 'app_log', 107 107 108 // Don't email or sms duplicate messages that happen more often than this value in sceonds.108 // Don't email or sms duplicate messages that happen more often than this value (in seconds). 109 109 'log_multiple_timeout' => 60, 110 110 … … 129 129 'log_to_sms_address' => null, 130 130 131 // Temp directory to store files that will indicate if a message has bee sent recently. Used by logMsg() for message throtteling.132 ' log_msg_temp_dir' => '/tmp',131 // Temporary files directory. 132 'tmp_dir' => '/tmp', 133 133 134 134 // A key for calculating simple cryptographic signatures. Set using as an environment variables in the httpd.conf with 'SetEnv SIGNING_KEY <key>'. … … 557 557 // Create tmp files so that we don't email and sms redundantly. 558 558 $site_hash = md5(SITE_BASE); 559 $temp_dir = $this->getParam(' log_msg_temp_dir') . "/codebase_msgs_$site_hash/";559 $temp_dir = $this->getParam('tmp_dir') . "/codebase_msgs_$site_hash/"; 560 560 $temp_file = $temp_dir . $msg_id; 561 561 if (!is_dir($temp_dir)) {
Note: See TracChangeset
for help on using the changeset viewer.