CPG-Nuke source documentation ⇒ CPG Dragonfly™ CMS
Files - Classes
  includes/cmsinit.inc
includes
properties
functions
cache_save_array

void cache_save_array(string $name)

Saves the given configuration into cache/config_$name.php so you don't have to query the database for the settings.

INFO The variable must be the name of a global accessible array()

save_cfg('MAIN_CFG');Stores the info from $MAIN_CFG

Arguments

  • $name

    The name of the variable