DIR : /home/kozerus/public_html/zc/zc_installed/ajaxTestDBConnection.php
/home/kozerus/public_html/zc/zc_installed
<?php
/**
* ajaxTestDBConnection.php
* @package Installer
* @copyright Copyright 2003-2018 Zen Cart Development Team
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: Drbyte Tue Sep 11 15:53:41 2018 -0400 Modified in v1.5.6 $
*/
define('IS_ADMIN_FLAG', false);
define('DIR_FS_INSTALL', __DIR__ . '/');
define('DIR_FS_ROOT', realpath(__DIR__ . '/../') . '/');
require(DIR_FS_INSTALL . 'includes/application_top.php');
$systemChecker = new systemChecker();
$error = TRUE;
$errorList = array();
if (isset($_POST['db_name']))
{
zcRegistry::setValue('db_host', $_POST['db_host']);
zcRegistry::setValue('db_user', $_POST['db_user']);
zcRegistry::setValue('db_password', $_POST['db_password']);
zcRegistry::setValue('db_name', $_POST['db_name']);
zcRegistry::setValue('db_charset', $_POST['db_charset']);
$results = $systemChecker -> runTests('database');
if (count($results) != 0)
{
$keys = array_keys($results);
$errorList = $results[$keys[0]];
$error = TRUE;
} else
{
$error = FALSE;
}
}
echo json_encode(array('error'=>$error, 'errorList'=>$errorList));
//
koh5_pano
Drag mouse to navigate.
Navigation
- Left/Right Mouse drag: Changes camera heading.
- Up/Sown Mouse drag: Changes camera pitch.
- Scroll wheel: Changes camera field of view.
- I-Key: Displays Info panel with canvas size, image size and FPS.
17.Aug.2010, Martin Wengenmayer