more lint
This commit is contained in:
parent
ceabd7629b
commit
f0b6400584
20 changed files with 114 additions and 130 deletions
|
@ -31,9 +31,12 @@ $a->init_pagehead();
|
|||
session_start();
|
||||
|
||||
|
||||
if((x($_SESSION,'authenticated')) || (x($_POST['auth-params'])))
|
||||
if((x($_SESSION,'authenticated')) || (x($_POST,'auth-params')))
|
||||
require("auth.php");
|
||||
|
||||
if(! x($_SESSION,'sysmsg'))
|
||||
$_SESSION['sysmsg'] = '';
|
||||
|
||||
if($install)
|
||||
$a->module = 'install';
|
||||
else
|
||||
|
@ -71,7 +74,9 @@ if($a->module_loaded) {
|
|||
|
||||
if((! $a->error) && (function_exists($a->module . '_content'))) {
|
||||
$func = $a->module . '_content';
|
||||
$a->page['content'] .= $func($a);
|
||||
if(! x($a->page,'content'))
|
||||
$a->page['content'] = '';
|
||||
$a->page['content'] .= $func($a);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue