packages: phorum/paths.patch - setup default cache dir

glen glen at pld-linux.org
Thu Feb 18 16:18:29 CET 2010


Author: glen                         Date: Thu Feb 18 15:18:29 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- setup default cache dir

---- Files affected:
packages/phorum:
   paths.patch (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: packages/phorum/paths.patch
diff -u packages/phorum/paths.patch:1.18 packages/phorum/paths.patch:1.19
--- packages/phorum/paths.patch:1.18	Thu Feb 18 16:06:23 2010
+++ packages/phorum/paths.patch	Thu Feb 18 16:18:24 2010
@@ -151,8 +151,8 @@
              if ( !isset( $language_hide ) || empty( $language_hide ) || defined( "PHORUM_ADMIN" ) ) {
                  $langs[str_replace( ".php", "", $entry )] = $language;
              } else {
---- phorum-5.2.14/include/admin/install.php~	2010-01-06 19:23:20.000000000 +0200
-+++ phorum-5.2.14/include/admin/install.php	2010-01-06 19:23:35.421527751 +0200
+--- phorum-5.2.14/include/admin/install.php	2010-01-06 19:23:35.421527751 +0200
++++ phorum-5.2.14/include/admin/install.php	2010-02-18 17:17:27.337265890 +0200
 @@ -25,7 +25,7 @@
  include_once("./include/api/user.php");
  
@@ -162,6 +162,15 @@
      return;
  }
  
+@@ -37,7 +37,7 @@
+ 
+ // Setup some default options (we need to do this at this point,
+ // because the sanity checks need them).
+-$default_cache_dir = (substr(__FILE__, 0, 1)=="/") ? "/tmp" : "C:\\Windows\\Temp";
++$default_cache_dir = (substr(__FILE__, 0, 1)=="/") ? "/var/cache/phorum" : "C:\\Windows\\Temp";
+ 
+ // Run sanity checks prior to installing Phorum. Here we do some
+ // checks to see if the environment is setup correctly for running
 --- phorum/include/admin/header.php	2010-01-06 20:02:05.938378394 +0200
 +++ phorum/include/admin/header.php	2010-02-10 17:52:51.032840427 +0200
 @@ -36,7 +36,7 @@
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/phorum/paths.patch?r1=1.18&r2=1.19&f=u



More information about the pld-cvs-commit mailing list