Lines Matching refs:arrSession

36     public $arrSession           = array();     // Session content  variable in install\\functions\\NagInstallClass
46 * @param array $arrSession PHP Session array
48 public function __construct($arrSession) argument
50 $this->arrSession = $arrSession;
390 if ($this->arrSession['install']['dbtype'] == 'mysqli') {
511 …$booReturn = $this->myDBClass->insertData('DROP DATABASE ' .$this->arrSession['install']['dbname'…
515 $this->arrSession['install']['dbname']. ')';
519 $this->arrSession['install']['dbname']. ')';
536 if (($this->arrSession['install']['dbtype'] == 'mysql') ||
537 ($this->arrSession['install']['dbtype'] == 'mysqli')) {
538 …$strSQL = 'CREATE DATABASE ' .$this->arrSession['install']['dbname']. ' DEFAULT CHARACTER SET utf8…
543 $this->arrSession['install']['dbname']. ')';
551 $this->arrSession['install']['dbname']. ')';
555 $this->arrSession['install']['dbname']. ')';
574 if (($this->arrSession['install']['dbtype'] == 'mysql') ||
575 ($this->arrSession['install']['dbtype'] == 'mysqli')) {
579 …$strSQL = "SELECT * FROM `mysql`.`user` WHERE `Host`='".$this->arrSession['install']['localsr…
580 . "AND `User`='".$this->arrSession['install']['dbuser']."'";
583 $strSQL = "CREATE USER '".$this->arrSession['install']['dbuser']."'@'"
584 . $this->arrSession['install']['localsrv']."' "
585 . "IDENTIFIED BY '".$this->arrSession['install']['dbpass']."'";
600 . '`' .$this->arrSession['install']['dbname']. '`.* TO '
601 . "'".$this->arrSession['install']['dbuser']."'@'"
602 . $this->arrSession['install']['localsrv']."'";
615 $this->arrSession['install']['dbuser']. ')';
725 …$strSQL = "SELECT `id` FROM `tbl_language` WHERE `locale`='".$this->arrSession['install']['locale…
733 . "VALUES (1, '".$this->arrSession['install']['qluser']."', 'Administrator', "
734 . "MD5('".$this->arrSession['install']['qlpass']."'), '1', '0', '1', '1', '".$intLang
758 …$arrInitial[] = array('category'=>'db','name'=>'version','value'=>$this->arrSession['install']['ve…
759 …$arrInitial[] = array('category'=>'db','name'=>'type','value'=>$this->arrSession['install']['dbtyp…
761 foreach ($this->arrSession['init_settings'] as $key => $value) {
799 'value'=>$this->arrSession['install']['version']);
806 'value'=>$this->arrSession['install']['locale']);
859 fwrite($filSettings, '; Version : ' .$this->arrSession['install']['version']."\n");
863 … fwrite($filSettings, 'type = \'' .$this->arrSession['install']['dbtype']. "'\n");
864 … fwrite($filSettings, 'server = \'' .$this->arrSession['install']['dbserver']. "'\n");
865 … fwrite($filSettings, 'port = \'' .$this->arrSession['install']['dbport']. "'\n");
866 … fwrite($filSettings, 'database = \'' .$this->arrSession['install']['dbname']. "'\n");
867 … fwrite($filSettings, 'username = \'' .$this->arrSession['install']['dbuser']. "'\n");
868 … fwrite($filSettings, 'password = \'' .$this->arrSession['install']['dbpass']. "'\n");
892 $strNagiosQLpath = str_replace('//', '/', $this->arrSession['install']['qlpath']. '/');
893 $strNagiosPath = str_replace('//', '/', $this->arrSession['install']['nagpath']. '/');
912 if ($intReturn == 0 && $this->arrSession['install']['createpath'] == 1) {
963 if ($this->arrSession['install']['dbtype'] == 'mysqli') {
964 $strSQL = 'ALTER DATABASE `' .$this->arrSession['install']['dbname']. '` '
994 if ($this->arrSession['install']['dbtype'] == 'mysqli') {
995 $strSQL = 'SHOW TABLES FROM `' .$this->arrSession['install']['dbname']. '`';
1011 …$strErrorMessage .= translate('Database type not defined!'). ' (' .$this->arrSession['install']['d…
1045 $strSQL1 = 'SHOW TABLES FROM `' .$this->arrSession['install']['dbname']. '`';
1064 .$this->arrSession['install']['dbtype'].")<br>\n";