mirror of
https://github.com/e107inc/e107.git
synced 2025-07-29 10:50:25 +02:00
Fix for admin msg rendering. Added PDO to siteinfo panel.
This commit is contained in:
@@ -791,20 +791,10 @@ class admin_shortcodes
|
||||
{
|
||||
if (ADMIN)
|
||||
{
|
||||
global $ns;
|
||||
ob_start();
|
||||
if(!FILE_UPLOADS)
|
||||
{
|
||||
echo message_handler('ADMIN_MESSAGE', LAN_HEADER_02, __LINE__, __FILE__);
|
||||
return e107::getRender()->tablerender(LAN_WARNING,LAN_HEADER_02,'admin_msg',true);
|
||||
}
|
||||
/*
|
||||
if(OPEN_BASEDIR){
|
||||
echo message_handler('ADMIN_MESSAGE', LAN_HEADER_03, __LINE__, __FILE__);
|
||||
}
|
||||
*/
|
||||
$message_text = ob_get_contents();
|
||||
ob_end_clean();
|
||||
return $message_text;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1078,7 +1068,9 @@ class admin_shortcodes
|
||||
".e107::getDB()->getServerInfo(). // mySqlServerInfo.
|
||||
|
||||
"<br />".FOOTLAN_16.": ".$mySQLdefaultdb."
|
||||
<br />PDO: ".((e107::getDB()->getPDO() === true) ? LAN_ENABLED : LAN_DISABLED)."
|
||||
<br />Mode: <small>".$sqlMode."</small>
|
||||
|
||||
<br /><br />
|
||||
<b>".FOOTLAN_17."</b>
|
||||
<br />utf-8
|
||||
|
Reference in New Issue
Block a user