ona  18.1.1
About: OpenNetAdmin provides a database managed inventory of your IP network (with Web and CLI interface).
  Fossies Dox: ona-18.1.1.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

config.inc.php File Reference

Go to the source code of this file.

Variables

 $base
 
 $include
 
 $onabase = dirname($base)
 
 $baseURL =dirname($_SERVER['SCRIPT_NAME'])
 
 $images = "{$baseURL}/images"
 
 $_ENV ['help_url'] = "http://opennetadmin.com/docs/"
 
 $conf
 
if(file_exists($base.'/../VERSION')) $self
 
if($_SERVER['SERVER_PORT']==443) $color ['bg'] = '#FFFFFF'
 
 $color ['content_bg'] = '#FFFFFF'
 
 $color ['bar_bg'] = '#D3DBFF'
 
 $color ['border'] = '#555555'
 
 $color ['form_bg'] = '#FFEFB6'
 
 $color ['font_default'] = '#000000'
 
 $color ['font_title'] = '#4E4E4E'
 
 $color ['font_subtitle'] = '#5A5A5A'
 
 $color ['font_error'] = '#E35D5D'
 
 $color ['link'] = '#6B7DD1'
 
 $color ['vlink'] = '#6B7DD1'
 
 $color ['alink'] = '#6B7DD1'
 
 $color ['link_nav'] = '#0048FF'
 
 $color ['link_act'] = '#FF8000'
 
 $color ['link_domain'] = 'green'
 
 $color ['button_normal'] = '#FFFFFF'
 
 $color ['button_hover'] = '#E0E0E0'
 
 $color ['bgcolor_map_host'] = '#BFD2FF'
 
 $color ['bgcolor_map_subnet'] = '#CCBFFF'
 
 $color ['bgcolor_map_selected'] = '#FBFFB6'
 
 $color ['bgcolor_map_empty'] = '#FFFFFF'
 
 $color ['menu_bar_bg'] = '#F3F1FF'
 
 $color ['menu_header_bg'] = '#FFFFFF'
 
 $color ['menu_item_bg'] = '#F3F1FF'
 
 $color ['menu_header_text'] = '#436976'
 
 $color ['menu_item_text'] = '#436976'
 
 $color ['menu_item_selected_bg'] = '#B1C6E3'
 
 $color ['menu_header_bg'] = '#B1C6E3'
 
 $style ['font-family'] = "Arial, Sans-Serif"
 
 $style ['borderT'] = "border-top: 1px solid {$color['border']};"
 
 $style ['borderB'] = "border-bottom: 1px solid {$color['border']};"
 
 $style ['borderL'] = "border-left: 1px solid {$color['border']};"
 
 $style ['borderR'] = "border-right: 1px solid {$color['border']};"
 
 $dbconffile = "{$base}/local/config/database_settings.inc.php"
 
if(file_exists($dbconffile)) else
 
 exit
 
if(!isset($_COOKIE['ona_context_name'])) global $onadb = db_pconnect('', $_COOKIE['ona_context_name'])
 
 foreach ( $records as $record)
 

Variable Documentation

◆ $_ENV

$_ENV[ 'help_url'] = "http://opennetadmin.com/docs/"

Definition at line 29 of file config.inc.php.

◆ $base

$base

Definition at line 15 of file config.inc.php.

◆ $baseURL

$baseURL =dirname($_SERVER['SCRIPT_NAME'])

◆ $color [1/28]

$color[ 'alink'] = '#6B7DD1'

Definition at line 132 of file config.inc.php.

◆ $color [2/28]

$color[ 'bar_bg'] = '#D3DBFF'

Definition at line 121 of file config.inc.php.

◆ $color [3/28]

◆ $color [4/28]

$color[ 'bgcolor_map_empty'] = '#FFFFFF'

Definition at line 144 of file config.inc.php.

◆ $color [5/28]

$color[ 'bgcolor_map_host'] = '#BFD2FF'

Definition at line 141 of file config.inc.php.

◆ $color [6/28]

$color[ 'bgcolor_map_selected'] = '#FBFFB6'

Definition at line 143 of file config.inc.php.

◆ $color [7/28]

$color[ 'bgcolor_map_subnet'] = '#CCBFFF'

Definition at line 142 of file config.inc.php.

◆ $color [8/28]

$color[ 'border'] = '#555555'

Definition at line 122 of file config.inc.php.

◆ $color [9/28]

$color[ 'button_hover'] = '#E0E0E0'

Definition at line 138 of file config.inc.php.

◆ $color [10/28]

$color[ 'button_normal'] = '#FFFFFF'

Definition at line 137 of file config.inc.php.

◆ $color [11/28]

$color[ 'content_bg'] = '#FFFFFF'

Definition at line 120 of file config.inc.php.

◆ $color [12/28]

$color[ 'font_default'] = '#000000'

Definition at line 125 of file config.inc.php.

◆ $color [13/28]

$color[ 'font_error'] = '#E35D5D'

Definition at line 128 of file config.inc.php.

◆ $color [14/28]

$color[ 'font_subtitle'] = '#5A5A5A'

Definition at line 127 of file config.inc.php.

◆ $color [15/28]

$color[ 'font_title'] = '#4E4E4E'

Definition at line 126 of file config.inc.php.

◆ $color [16/28]

$color[ 'form_bg'] = '#FFEFB6'

Definition at line 123 of file config.inc.php.

◆ $color [17/28]

$color[ 'link'] = '#6B7DD1'

Definition at line 130 of file config.inc.php.

◆ $color [18/28]

$color[ 'link_act'] = '#FF8000'

Definition at line 134 of file config.inc.php.

◆ $color [19/28]

$color[ 'link_domain'] = 'green'

Definition at line 135 of file config.inc.php.

◆ $color [20/28]

$color[ 'link_nav'] = '#0048FF'

Definition at line 133 of file config.inc.php.

◆ $color [21/28]

$color[ 'menu_bar_bg'] = '#F3F1FF'

Definition at line 148 of file config.inc.php.

◆ $color [22/28]

$color[ 'menu_header_bg'] = '#FFFFFF'

Definition at line 149 of file config.inc.php.

◆ $color [23/28]

$color[ 'menu_header_bg'] = '#B1C6E3'

Definition at line 154 of file config.inc.php.

◆ $color [24/28]

$color[ 'menu_header_text'] = '#436976'

Definition at line 151 of file config.inc.php.

◆ $color [25/28]

$color[ 'menu_item_bg'] = '#F3F1FF'

Definition at line 150 of file config.inc.php.

◆ $color [26/28]

$color[ 'menu_item_selected_bg'] = '#B1C6E3'

Definition at line 153 of file config.inc.php.

◆ $color [27/28]

$color[ 'menu_item_text'] = '#436976'

Definition at line 152 of file config.inc.php.

◆ $color [28/28]

$color[ 'vlink'] = '#6B7DD1'

Definition at line 131 of file config.inc.php.

◆ $conf

$conf

Definition at line 39 of file config.inc.php.

◆ $dbconffile

$dbconffile = "{$base}/local/config/database_settings.inc.php"

Definition at line 176 of file config.inc.php.

◆ $images

◆ $include

$include

Definition at line 16 of file config.inc.php.

◆ $onabase

$onabase = dirname($base)

Definition at line 18 of file config.inc.php.

◆ $onadb

$onadb = db_pconnect('', $_COOKIE['ona_context_name'])

Definition at line 205 of file config.inc.php.

◆ $self

if (file_exists( $base.'/../VERSION')) $self
Initial value:
= array (
"error" => "",
"cache" => array(),
"secure" => 0,
)

Definition at line 96 of file config.inc.php.

◆ $style [1/5]

$style[ 'borderB'] = "border-bottom: 1px solid {$color['border']};"

Definition at line 160 of file config.inc.php.

◆ $style [2/5]

$style[ 'borderL'] = "border-left: 1px solid {$color['border']};"

Definition at line 161 of file config.inc.php.

◆ $style [3/5]

$style[ 'borderR'] = "border-right: 1px solid {$color['border']};"

Definition at line 162 of file config.inc.php.

◆ $style [4/5]

$style[ 'borderT'] = "border-top: 1px solid {$color['border']};"

Definition at line 159 of file config.inc.php.

◆ $style [5/5]

◆ else

if (file_exists( $base.'/local/config/run_install') or @ $runinstaller or @ $install_submit=='Y') if ( @function_exists( 'mb_internal_encoding')) else
Initial value:
{
require_once($base.'/../install/install.php')

Definition at line 184 of file config.inc.php.

◆ exit

exit

Definition at line 186 of file config.inc.php.

Referenced by xajax\_detectURI(), xajax\processRequests(), and securePage().

◆ foreach

foreach($records as $record)

Definition at line 214 of file config.inc.php.

$base
$base
Definition: config.inc.php:15