karimsqualli96 Posted August 29, 2014 Share Posted August 29, 2014 hi, i wanted to share database connection info between all my resource, and i found a file setting.xml in the same folder as acl.xml, so i thought its maybe can serve to that prupose, if its the case can you show me some exemple of code, because i don't find any documentation on the wiki Link to comment
lcd12321 Posted August 29, 2014 Share Posted August 29, 2014 make function that returns mysql connection variable and export this function. Link to comment
myonlake Posted August 31, 2014 Share Posted August 31, 2014 You can use the get function to get the global settings, or resource-based settings. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now