Changeset 359
- Timestamp:
- Sep 26, 2009 8:38:25 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/App.inc.php
r358 r359 555 555 } 556 556 557 // Create tmp files so that we don't email and sms redundantly.557 // Use "lock" files to prevent sending email and sms notices ad infinitum. 558 558 $site_hash = md5($_SERVER['SCRIPT_NAME']); 559 559 $temp_dir = $this->getParam('tmp_dir') . "/codebase_msgs_$site_hash/"; 560 $temp_file = $temp_dir . $msg_id;560 $temp_file = $temp_dir . md5($file . $line); // Just use the file and line for the msg_id to limit the number of possible messages. 561 561 if (!is_dir($temp_dir)) { 562 562 mkdir($temp_dir); … … 1014 1014 // A redirection will never happen immediately after setting the boomerangURL. 1015 1015 // Set the time so ensure this doesn't happen. See $app->validBoomerangURL for more. 1016 /// FIXME: Why isn't the time set here under setBoomerangURL() and only under dieBoomerangURL()? 1016 1017 1017 1018 if ('' != $url && is_string($url)) {
Note: See TracChangeset
for help on using the changeset viewer.