phpDocumentor CAT_Configuration
[ class tree: CAT_Configuration ] [ index: CAT_Configuration ] [ all elements ]

Class: Config

Source Location: /config/config.php

Class Config

Class Overview

This classes' members hold the configuration for CAT It is not necessary to instantiate the class; all members are static

Located in /config/config.php [line 17]



		
				Author(s):
		
		
		
Information Tags:

Properties

[ Top ]
Property Summary
static string   $BASE_DIR   Installation path of CAT on the system
static string   $DEBUG_FILE   Destination for debug logs
static int   $DEBUG_LEVEL   Verbosity of some of the core code. The following debug levels are supported:
static string   $KB_DB   Database name on the server
static string   $KB_HOST   Database server that contains all the user data
static string   $KB_PASS   Password to access the database
static string   $KB_USER   Username to access the database
static string   $MAPS_API_KEY   Your API key for Google Maps. If this config variable is invalid, all the map parts won't work.
static int   $MAX_UPLOAD_SIZE   Maximum size of files to be uploaded. Clever people can circumvent this; in the end, the hard limit is configured in php.ini
static string   $PLACES_API_KEY   The CAT uses Google places to guess a location based on the country and name. You need to have a valid Google Places API key for that. Note that this is different from the Google Maps API key, below.
static string   $TMP_BASE_PATH   Base path for temporary files (these will hold site installer data)
static string   $WEB_DIR   Path to the web subdir of CAT on the system

[ Top ]
Properties
static string   $BASE_DIR = "/srv/www/htdocs/cat/" [line 47]

Installation path of CAT on the system

API Tags:
Access:  public


[ Top ]
static string   $DEBUG_FILE = '/tmp/cat.log' [line 84]

Destination for debug logs

API Tags:
Access:  public


[ Top ]
static int   $DEBUG_LEVEL = 5 [line 79]

Verbosity of some of the core code. The following debug levels are supported:

  1. = production (silence)
  2. = normal debug
  3. = more debug
  4. = annoyingly much debug output
  5. = way too much debug output (level 4 + SQL query dump)

API Tags:
Access:  public


[ Top ]
static string   $KB_DB = "eduroam_configurator" [line 27]

Database name on the server

API Tags:
Access:  public


[ Top ]
static string   $KB_HOST = "leopard-www.uci.umk.pl" [line 22]

Database server that contains all the user data

API Tags:
Access:  public


[ Top ]
static string   $KB_PASS = "p234jsyxt" [line 37]

Password to access the database

API Tags:
Access:  public


[ Top ]
static string   $KB_USER = "stefan" [line 32]

Username to access the database

API Tags:
Access:  public


[ Top ]
static string   $MAPS_API_KEY = "ABQIAAAADOx8irplsl3fM9t1DUDEMhRQte6xwt1Oda60MuBa3yRmV8Ru8RSSq0YdUUav1DCgsQFdqL7J2s4dKA" [line 62]

Your API key for Google Maps. If this config variable is invalid, all the map parts won't work.

API Tags:
Access:  public


[ Top ]
static int   $MAX_UPLOAD_SIZE = 10000000 [line 67]

Maximum size of files to be uploaded. Clever people can circumvent this; in the end, the hard limit is configured in php.ini

API Tags:
Access:  public


[ Top ]
static string   $PLACES_API_KEY = "AIzaSyCuiAxfb3LMyjLz7cN62Cx1mF1FfcY2j5w" [line 57]

The CAT uses Google places to guess a location based on the country and name. You need to have a valid Google Places API key for that. Note that this is different from the Google Maps API key, below.

API Tags:
Access:  public


[ Top ]
static string   $TMP_BASE_PATH = "User_files/" [line 42]

Base path for temporary files (these will hold site installer data)

API Tags:
Access:  public


[ Top ]
static string   $WEB_DIR = "/srv/www/htdocs/cat/web/" [line 52]

Path to the web subdir of CAT on the system

API Tags:
Access:  public


[ Top ]

Documentation generated on Fri, 15 Jul 2011 10:49:27 +0200 by phpDocumentor 1.4.3