API - XOOPS 2.5.11 Beta 2
By monxoops.fr
page_dbsettings.php File Reference

Namespaces

namespace  installer
 

Variables

 $pageHasForm = true
 
 $pageHasHelp = true
 
 $vars =& $_SESSION['settings']
 
 $hostConnectPrefix = empty($vars['DB_PCONNECT']) ? '' : 'p:'
 
 $link = new mysqli($hostConnectPrefix.$vars['DB_HOST'], $vars['DB_USER'], $vars['DB_PASS'])
 
if(0 !==$link->connect_errno) if( $_SERVER[ 'REQUEST_METHOD']==='GET' &&isset( $_GET[ 'charset']) &&@ $_GET[ 'action']==='updateCollation') if($_SERVER['REQUEST_METHOD']==='POST') $error = ''
 
 if (!empty( $error))
 
 $content = ob_get_contents()
 

Variable Documentation

◆ $content

$content = ob_get_contents()

◆ $error

if(0 !==$link->connect_errno) if($_SERVER['REQUEST_METHOD']==='GET' &&isset($_GET['charset']) &&@ $_GET['action']==='updateCollation') if ( $_SERVER[ 'REQUEST_METHOD']==='POST') $error = ''

◆ $hostConnectPrefix

$hostConnectPrefix = empty($vars['DB_PCONNECT']) ? '' : 'p:'

◆ $link

$link = new mysqli($hostConnectPrefix.$vars['DB_HOST'], $vars['DB_USER'], $vars['DB_PASS'])

◆ $pageHasForm

$pageHasForm = true

◆ $pageHasHelp

$pageHasHelp = true

◆ $vars

$vars =& $_SESSION['settings']

◆ if

if(!empty($error)) ( empty $error)