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

Namespaces

namespace  installer
 

Variables

 $pageHasForm = false
 
 $pageHasHelp = false
 
 $vars =& $_SESSION['settings']
 
 $dbm = new Db_manager()
 
if(! $dbm->isConnectable()) $res = $dbm->query('SELECT COUNT(*) FROM ' . $dbm->db->prefix('users'))
 
 $process = ($count == 0)
 
 $update = false
 
 $licenseFile = XOOPS_VAR_PATH . '/data/license.php'
 
 $touched = touch($licenseFile)
 
if($touched) else
 
 $error = false
 
 $hashedAdminPass = password_hash($adminpass, PASSWORD_DEFAULT)
 
 $content = $licenseReport
 
 if (!empty( $_SESSION[ 'settings'][ 'authorized']) &&!empty( $adminname) &&!empty( $adminpass))
 

Variable Documentation

◆ $content

$content = $licenseReport

◆ $dbm

$dbm = new Db_manager()

◆ $error

$error = false

◆ $hashedAdminPass

$hashedAdminPass = password_hash($adminpass, PASSWORD_DEFAULT)

◆ $licenseFile

$licenseFile = XOOPS_VAR_PATH . '/data/license.php'

◆ $pageHasForm

$pageHasForm = false

◆ $pageHasHelp

$pageHasHelp = false

◆ $process

$process = ($count == 0)

◆ $res

if (! $dbm->isConnectable()) $res = $dbm->query('SELECT COUNT(*) FROM ' . $dbm->db->prefix('users'))

◆ $touched

$touched = touch($licenseFile)

◆ $update

$update = false

◆ $vars

$vars =& $_SESSION['settings']

◆ else

if ( $process) else
Initial value:
{
$licenseReport = '<div class="alert alert-danger"><span class="fa fa-ban text-danger"></span> '
. sprintf(LICENSE_NOT_WRITEABLE, $licenseFile) . '</div>'
const LICENSE_NOT_WRITEABLE
Definition: install.php:20
$licenseFile
Definition: page_tablesfill.php:60

◆ if

if(!empty($_SESSION['settings']['authorized']) &&!empty($adminname) &&!empty($adminpass)) ( empty $_SESSION[ 'settings'][ 'authorized']) &&!empty( $adminname) &&!empty( $adminpass)