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

Get hostdata folder using ctrl_options #1

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

Comments

Projects
None yet
2 participants
@TGates71

TGates71 commented May 7, 2015

(Will need testing, writing from my poor memory lol.)
This will get the hostdata path from system settings: (Allows use on Windows)
Change line 111 hooksCtrl.php:

global $zdbh;

To:

global $zdbh, $controller;

Change line 119 hooksCtrl.php:

$hd_path   = "/var/sentora/hostdata"; // Path to hostdata

To:

$hd_path   = ctrl_options::GetOption('hosted_dir'); // Path to hostdata
@apintocr

This comment has been minimized.

Show comment
Hide comment
@apintocr

apintocr May 9, 2015

Owner

Good memory :)
Right Paths 👍
Done, thank you @TGates71

Owner

apintocr commented May 9, 2015

Good memory :)
Right Paths 👍
Done, thank you @TGates71

@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