You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

how do i get the db name

Received Response
12
Views
11
Comments
edited Aug 24, 2016 11:58AM in Integrations and APIs 11 comments

Content

hi - i could be posting in the wrong category - please move this if that is the case, sorry

 

im writing some curl code and running it in custom files before moving to cpm

when i use

\RightNow\Utils\Config::getConfig(DB_NAME))

the code just stops

is the syntax wrong, is the method wrong - how do i get the db name so i can reference the certs from the certs folder ?

Code Snippet

             $ca_cert = sprintf('/cgi-bin/%s.db/certs/ca.pem', \RightNow\Utils\Config::getConfig(DB_NAME)); 
        

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!