Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Issue #598, #589, #674 - fixed sendmail on apache conf and back to pr…

…evious for log_cleanup message when update process
  • Loading branch information...
commit 4f28a2ec1c9816e8a14d1644bbea0409cfcb17f7 1 parent a307087
mustafaramadhan authored
Showing with 7 additions and 1 deletion.
  1. +7 −1 kloxo/httpdocs/lib/domain/web/driver/web__apachelib.php
View
8 kloxo/httpdocs/lib/domain/web/driver/web__apachelib.php
@@ -242,13 +242,16 @@ function addSendmail()
// enabled (rev 461)
// return null;
+ // ToDo --- remove this call because double declare with php.ini
+ // need more investigate after 6.1.7
+
$sendmailstring = "php_admin_value sendmail_path \"/usr/sbin/sendmail -t -i -f emailcop@{$this->main->nname}\"\n";
$string = "\t<IfModule sapi_apache2.c>\n";
$string .= "\t\t".$sendmailstring;
$string .= "\t</IfModule>\n\n";
- $string = "\t<IfModule mod_php5.c>\n";
+ $string .= "\t<IfModule mod_php5.c>\n";
$string .= "\t\t".$sendmailstring;
$string .= "\t</IfModule>\n\n";
@@ -258,6 +261,9 @@ function addSendmail()
function AddOpenBaseDir()
{
global $gbl, $sgbl, $login, $ghtml;
+
+ // ToDo --- remove this call because double declare with php.ini
+ // need more investigate after 6.1.7
if (isset($this->main->webmisc_b) && $this->main->webmisc_b->isOn('disable_openbasedir')) {
return null;
Please sign in to comment.
Something went wrong with that request. Please try again.