mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Fix to cure uninitialized variable warnings whenever schema is called.
Also many minor warning bug fixes in schema.php Might as well take the plunge and go to default show warnings. Uninitialized variable and small bug fixes install fusionpbx
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
$db_create = '';
|
||||
$db_create_username = '';
|
||||
$db_create_password = '';
|
||||
$db = NULL;
|
||||
|
||||
//detect the iso country code from the locale
|
||||
//$locale = Locale::getDefault();
|
||||
@@ -133,7 +134,7 @@
|
||||
$onload = '';
|
||||
|
||||
//buffer the content
|
||||
ob_end_clean(); //clean the buffer
|
||||
if (sizeof(ob_get_status())!=0) ob_end_clean(); //clean the buffer
|
||||
ob_start();
|
||||
|
||||
$messages = array();
|
||||
@@ -243,7 +244,7 @@
|
||||
include "resources/page_parts/install_config_database.php";
|
||||
}
|
||||
elseif($install_step == 'execute'){
|
||||
echo "<p><b>".$text['header-installing']."</b></p>\n";
|
||||
echo "<p><b>".$text['header-installing'][$install_language]."</b></p>\n";
|
||||
//$protocol = 'http';
|
||||
//if($_SERVER['HTTPS']) { $protocol = 'https'; }
|
||||
//echo "<iframe src='$protocol://$domain_name/core/install/install_first_time.php' style='border:solid 1px #000;width:100%;height:auto'></iframe>";
|
||||
@@ -364,4 +365,4 @@
|
||||
//send the content to the browser and then clear the variable
|
||||
echo $content;
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user