Changeset 348 for trunk/lib/App.inc.php


Ignore:
Timestamp:
Mar 18, 2009 6:19:02 PM (15 years ago)
Author:
quinn
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/App.inc.php

    r344 r348  
    106106        'log_filename' => 'app_log',
    107107
    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).
    109109        'log_multiple_timeout' => 60,
    110110
     
    129129        'log_to_sms_address' => null,
    130130
    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',
    133133
    134134        // A key for calculating simple cryptographic signatures. Set using as an environment variables in the httpd.conf with 'SetEnv SIGNING_KEY <key>'.
     
    557557        // Create tmp files so that we don't email and sms redundantly.
    558558        $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/";
    560560        $temp_file = $temp_dir . $msg_id;
    561561        if (!is_dir($temp_dir)) {
Note: See TracChangeset for help on using the changeset viewer.