Configuration
From PHPDevShell
The $this->configuration Object
This is one handy object, you can get almost any detail from the user or system using this array, to give you an example:
// To use it in your scripts. echo "My name is {$this->configuration['user_display_name']}";
The list below is a what the configuration actually holds:
$this->configuration['config_files'] == Array ( [0] => /home/titan/html/phpdev/config/host.config.php [1] => /home/titan/html/phpdev/config/default.config.php ) $this->configuration['phpdevshell_version'] == PHPDevShell V 2.8.0-Stable-DB-2800 $this->configuration['phpdevshell_db_version'] == 2800 $this->configuration['host'] == Array ( [titan] => default ) $this->configuration['database_name'] == phpdev $this->configuration['database_user_name'] == root $this->configuration['database_password'] == root $this->configuration['server_address'] == localhost $this->configuration['database_prefix'] == pds_ $this->configuration['persistent_db_connection'] == $this->configuration['cache_type'] == filecache $this->configuration['cache_refresh_intervals'] == 120 $this->configuration['memcache_server'] == localhost $this->configuration['memcache_port'] == 11211 $this->configuration['memcache_timeout'] == 120 $this->configuration['memcache_persistent'] == false $this->configuration['session_life'] == 1440 $this->configuration['session_path'] == write/session/ $this->configuration['compile_path'] == write/compile/ $this->configuration['cache_path'] == write/cache/ $this->configuration['tmp_path'] == write/tmp/ $this->configuration['upload_path'] == write/upload/ $this->configuration['system_down_bypass'] == false $this->configuration['constant_conversion'] == false $this->configuration['function_files'] == Array ( ) $this->configuration['debug'] == Array ( [enable] => 1 [level] => 4 [firePHP] => 1 [serverlog] => 1 [domains] => Array ( [0] => core [1] => db [2] => navigation [3] => security [4] => template [5] => user ) [file_log_dir] => write/logs/ [email_critical] => yourmail@phpdevshell.org [display_errors] => [ignore_notices] => [ignore_warnings] => ) $this->configuration['time'] == 1248952465 $this->configuration['absolute_url'] == http://titan/html/phpdev $this->configuration['session_name'] == 969007a97b2f3a67d2b1e237213954d6 $this->configuration['absolute_path'] == /home/titan/html/phpdev/ $this->configuration['crypt_key'] == eDucDjodz8ZiMqFe8zeJ $this->configuration['loginandout'] == 3682403894 $this->configuration['front_page_id'] == 2266433229 $this->configuration['front_page_id_in'] == 940041356 $this->configuration['date_format'] == F j, Y, g:i a O $this->configuration['date_format_short'] == Y-m-d $this->configuration['scripts_name_version'] == Your Application Name V-1.0.0 $this->configuration['footer_notes'] == PHPDevShell.org (c) 2009 GNU/GPL License. $this->configuration['charset_format'] == .{charset} $this->configuration['locale_format'] == {lang}_{region}{charset} $this->configuration['charset'] == UTF-8 $this->configuration['language'] == en $this->configuration['debug_language'] == 0 $this->configuration['region'] == US $this->configuration['system_timezone'] == UTC $this->configuration['default_template'] == cloud $this->configuration['default_template_id'] == 844895956 $this->configuration['printable_template'] == cloud-printable $this->configuration['root_id'] == 1 $this->configuration['root_role'] == 1 $this->configuration['root_group'] == 1 $this->configuration['setting_admin_email'] == email@phphdevshell.org $this->configuration['custom_logo'] == false $this->configuration['system_down'] == false $this->configuration['demo_mode'] == false $this->configuration['force_core_changes'] == false $this->configuration['system_logging'] == 1 $this->configuration['access_logging'] == 1 $this->configuration['email_critical'] == 1 $this->configuration['sef_url'] == 1 $this->configuration['queries_count'] == 1 $this->configuration['user_id'] == 1 $this->configuration['user_name'] == root $this->configuration['user_display_name'] == Root User $this->configuration['user_group'] == 1 $this->configuration['user_role'] == 1 $this->configuration['user_email'] == email@phphdevshell.org $this->configuration['user_language'] == en $this->configuration['user_region'] == US $this->configuration['user_timezone'] == UTC $this->configuration['user_locale'] == en_US.UTF-8 $this->configuration['locale'] == en_US.UTF-8 $this->configuration['locale_dir'] == en_US $this->configuration['m'] == 3669783681 $this->configuration['template_folder'] == cloud $this->configuration['user_role_name'] == Super $this->configuration['user_group_name'] == Super

