Changeset - b07a758916bc
[Not reviewed]
Merge default
0 2 0
Nathan Brink (binki) - 15 years ago 2011-03-29 21:48:42
ohnobinki@ohnopublishing.net
merge
2 files changed with 17 insertions and 0 deletions:
0 comments (0 inline, 0 general)
feedback-submit.php
Show inline comments
 
@@ -94,6 +94,11 @@ Deployment = $fromdom
 
	mail($toaddr, $subject, $message, $from);
 
      }
 

	
 
    if($feedback_disk_log) {
 
      $file = fopen($feedback_disk_log_file,'a') or die("Can't open file.");
 
      fwrite($file, $message . "----------------------------------------\n");
 
      fclose($file);
 
    }
 
    echo '<p>Thanks for helping make SlatePermutate better. Your feedback is greatly appreciated.</p>';
 
    echo '<p>We will attempt to respond via email if your feedback lends itself to a response.</p>';
 
  }
inc/config.inc.example
Show inline comments
 
@@ -122,3 +122,15 @@
 
 * whole concept may appear silly ;-).
 
 */
 
/* $qtips_always = FALSE; */
 

	
 

	
 
/**
 
 * \brief
 
 *   Specify whether or not to log feedback to disk
 
 *
 
 * Set to TRUE to log to file in addition to email logging (if available).
 
 * $feedback_disk_log_file must be set to a fully-qualified filepath.
 
 * 
 
 */
 
/* $feedback_disk_log = TRUE; */
 
/* $feedback_disk_log_file = "/var/log/sp-feedback.log"; */
0 comments (0 inline, 0 general)