CORE POS - Fannie
The CORE POS back end
Static Public Member Functions | List of all members
COREPOS\pos\install\InstallUtilities Class Reference

Static Public Member Functions

static dbOrFail ($db)
 
static paramSave ($key, $value)
 
static dbTestConnect ($host, $type, $db, $user, $pw)
 
static duplicateStructure ($dbms, $table1, $table2)
 
static normalizeDbName ($name)
 
static validateConfiguration ()
 

Member Function Documentation

static COREPOS\pos\install\InstallUtilities::paramSave (   $key,
  $value 
)
static

Save value to the parameters table.

static COREPOS\pos\install\InstallUtilities::validateConfiguration ( )
static

Opposite of normal. Load the parameters table values first, then include ini.php second. If the resulting $CORE_LOCAL does not match the paramters table, that means ini.php overwrote a setting with a different value.

Again backwards. Check lane-specific parameters first

Now check global parameters

Finally, re-save any conflicting values. This should rewrite them in ini.php if that file is writable.


The documentation for this class was generated from the following file: