SOURCES: mythweb-config.patch - forward php errors to most likely ...

glen glen at pld-linux.org
Wed Oct 26 01:18:12 CEST 2005


Author: glen                         Date: Tue Oct 25 23:18:12 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- forward php errors to most likely existing alias

---- Files affected:
SOURCES:
   mythweb-config.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/mythweb-config.patch
diff -u SOURCES/mythweb-config.patch:1.2 SOURCES/mythweb-config.patch:1.3
--- SOURCES/mythweb-config.patch:1.2	Wed Oct 26 00:20:42 2005
+++ SOURCES/mythweb-config.patch	Wed Oct 26 01:18:06 2005
@@ -86,3 +86,14 @@
  
  // Local (web-friendly) path to the mythtv video dir (use a symlink to the real one - one will be auto-created if it can be)
      define('video_dir', 'video_dir');
+--- ./mythweb/config/conf.php~	2005-01-31 07:42:41.000000000 +0200
++++ ./mythweb/config/conf.php	2005-10-26 02:17:13.000000000 +0300
+@@ -26,7 +26,7 @@
+     define('server_domain', $_SERVER['SERVER_NAME'] ? $_SERVER['SERVER_NAME'] : $_SERVER['HTTP_HOST']);
+ 
+ // Email address to which php and database errors are mailed to
+-    define('Error_Email', 'php_errors@'.preg_replace('/.*?\b([\w\-]+\.[\w\-]+)$/', '$1', server_domain));
++    define('Error_Email', 'root@'.preg_replace('/.*?\b([\w\-]+\.[\w\-]+)$/', '$1', server_domain));
+ 
+ // For the "movies" search -- set this to the word your listings provider uses to
+ //   describe movies/films/peliculas/etc.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/mythweb-config.patch?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list