- Timestamp:
- Feb 7, 2009 7:30:23 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/App.inc.php
r342 r343 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', 133 131 134 // A key for calculating simple cryptographic signatures. Set using as an environment variables in the httpd.conf with 'SetEnv SIGNING_KEY <key>'. 132 135 // Existing password hashes rely on the same key/salt being used to compare encryptions. … … 554 557 // Create tmp files so that we don't email and sms redundantly. 555 558 $site_hash = md5(SITE_BASE); 556 $temp_dir = "/tmp/codebase_msgs_$site_hash/";559 $temp_dir = $this->getParam('log_msg_temp_dir') . "/codebase_msgs_$site_hash/"; 557 560 $temp_file = $temp_dir . $msg_id; 558 561 if (!is_dir($temp_dir)) {
Note: See TracChangeset
for help on using the changeset viewer.