Exemplo n.º 1
0
    $system = $pnconfig['system'];
    $encoded = $pnconfig['encoded'];
}
# -- Decode username and password
if (!empty($encoded)) {
    $dbuname = base64_decode($dbuname);
    $dbpass = base64_decode($dbpass);
}
# -- ??
$pnconfig['prefix'] = $prefix;
/** Table aliases */
include_once 'pntables.php';
/** Functions for multilanguage support. */
include_once 'install/language.php';
# -- Include selected language constants
installer_get_language();
/** functions to modify config.php */
include_once 'install/modify_config.php';
/** functions for new installs */
include_once 'install/newinstall.php';
/** functions for rendering the GUI (print_*) */
include_once 'install/gui.php';
/** functions for accessing the DB */
include_once 'install/db.php';
/** functions for various checks */
include_once 'install/check.php';
# -- print the page header, include style sheets
print_header();
# --  This starts the switch statement that filters through the form options.
# --  the @ is in front of $op to suppress error messages if $op is unset and E_ALL
# --  is on.
Exemplo n.º 2
0
    $dbuname = $pnconfig['dbuname'];
    $dbpass = $pnconfig['dbpass'];
    $dbname = $pnconfig['dbname'];
    $system = $pnconfig['system'];
    $encoded = $pnconfig['encoded'];
}
if (!empty($encoded)) {
    // Decode username and password
    $dbuname = base64_decode($dbuname);
    $dbpass = base64_decode($dbpass);
}
$pnconfig['prefix'] = $prefix;
include_once 'pntables.php';
include_once 'install/language.php';
// functions for multilanguage support
$currentlang = installer_get_language(@$currentlang);
include_once 'install/modify_config.php';
// functions to modify config.php
include_once 'install/upgrade.php';
// functions for upgrades
include_once 'install/newinstall.php';
// functions for new installs
include_once 'install/gui.php';
// functions for rendering the gui
include_once 'install/db.php';
// functions for accessing the db
include_once 'install/check.php';
// functions for various checks
/** print the page header, include style sheets **/
print_header();
/*  This starts the switch statement that filters through the form options.