Fork me on GitHub

Retrieving settings  Bottom

  • In the past I could retrieve the postnuke database setting with pnConfigGetVar('dbname'), now this generates blanks. Is this a bug or has something changed with 0.8 ?

    Cas
  • Cas,

    This information is available from the DBConnectionStack object library class. For example to get the DB name use

    Code

    $dbname = DBConnectionStack::getConnectionDBName();


    -Mark

    --
    Visit My homepage and Zikula themes.

This list is based on users active over the last 60 minutes.