FreePBX Paid Support


Not Logged in - No Account?

Don't have an account? Registering an account with us allows you to post to the forums, easily track new posts, subscribe to threads, pm (private message) other forum members, and receive periodic news letters (you can opt out if you desire). Once you are logged in this message will no longer appear. If you don't have an account, you can create one by registering here. Lost your password, request a new password. We respect your privacy which means we collect minimal information when you register and we do not resell that information or use it in any objectionable way. You can review our privacy policy for full details.


cdr/lib/defines.php comment

kieranmullen3's picture

Hello!

as always that you for your fine work. I was wondering why must cdr/lib/defines.php
be replaced alltogether on every framework? I have a custom db so this must be fixed every time there is a framework or core upgrade.

Strangely the username and password are simply references why not the db name as well?

define ("HOST", $amp_conf["AMPDBHOST"]);
define ("PORT", "5432");
define ("USER", $amp_conf["AMPDBUSER"]);
define ("PASS", $amp_conf["AMPDBPASS"]);
define ("DBNAME", "MYDBNAME");
define ("DB_TYPE", "mysql"); // mysql or postgres

thank you

km


__________________


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

kieranmullen3: is this a

lazytt's picture

kieranmullen3: is this a variable that is already in amportal.conf? Feel free to submit a patch with the changes that you would like to.


I am just saying that there

kieranmullen3's picture

I am just saying that there are certain areas of the conf and defines that should not be overwritten