New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set webmail path according to OS (Windows compatability) #2

Closed
TGates71 opened this Issue May 7, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@TGates71

TGates71 commented May 7, 2015

First apply: #1
(Also created from my memory, will need testing and tweaking.)
Next:
Change Line 118 hooksCtrl.php:

$vmailpath = "/var/sentora/vmail";    // Path to vmail

To:

if (php_uname('s') == 'Windows NT') {
    $vmailpath = "c:/zpanel/bin/hmailserver/data/";    // Path to vmail
} else {
     $vmailpath = "/var/sentora/vmail";    // Path to vmail
}

@apintocr apintocr added this to the v1.3.0 milestone May 7, 2015

@apintocr apintocr self-assigned this May 7, 2015

@apintocr

This comment has been minimized.

Show comment
Hide comment
@apintocr

apintocr May 9, 2015

Owner

Done 👍

Owner

apintocr commented May 9, 2015

Done 👍

@apintocr apintocr closed this May 9, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment