TEXT   16

dolibarr forrpm patch

Guest on 1st June 2022 01:17:59 PM

  1. diff -up htdocs/filefunc.inc.php.patch htdocs/filefunc.inc.php
  2. --- htdocs/filefunc.inc.php.patch       2011-09-03 02:32:48.666952000 +0200
  3. +++ htdocs/filefunc.inc.php     2011-09-03 02:33:00.510952001 +0200
  4. @@ -63,8 +63,8 @@
  5.  $conffile = "conf/conf.php";
  6.  $conffiletoshow = "htdocs/conf/conf.php";
  7.  // For debian/redhat like systems
  8. -//$conffile = "/etc/dolibarr/conf.php";
  9. -//$conffiletoshow = "/etc/dolibarr/conf.php";
  10. +$conffile = "/etc/dolibarr/conf.php";
  11. +$conffiletoshow = "/etc/dolibarr/conf.php";
  12.  
  13.  
  14.  // Include configuration
  15. diff -up htdocs/install/inc.php.patch htdocs/install/inc.php
  16. --- htdocs/install/inc.php.patch        2011-09-03 02:33:26.450952000 +0200
  17. +++ htdocs/install/inc.php      2011-09-03 02:33:36.286952001 +0200
  18. @@ -74,8 +74,8 @@
  19.  $conffile = "../conf/conf.php";
  20.  $conffiletoshow = "htdocs/conf/conf.php";
  21.  // For debian/redhat like systems
  22. -//$conffile = "/etc/dolibarr/conf.php";
  23. -//$conffiletoshow = "/etc/dolibarr/conf.php";
  24. +$conffile = "/etc/dolibarr/conf.php";
  25. +$conffiletoshow = "/etc/dolibarr/conf.php";
  26.  
  27.  
  28.  // Load conf file if it is already defined

Raw Paste


Login or Register to edit or fork this paste. It's free.