ATK Configuration Options V8
Appearance
ATK Configuration Options V8+
Also see configuration default options file /atk/defaultconfig.inc.php and skeleton /atk/skel/config.inc.php
| CATEGORY | CONFIG NAME | NOTES | DEFAULT | WHERE USED (1 of ?) | ||||
| PHP | $config_session_max_stack_inactivity_period | The maximum inactivity period for a stack in the session manager before it expires. Set to a value <= 0 to disable. | 3600 | class.atksessionmanager.inc | ||||
| ATTRIBUTE | $config_doctemplatedir | For document attributes ATK automatically searches for template documents in a specific directory. The base directory to search in can be specified below. The document templates must be put in a specific directory structure under this base directory: first of all a subdirectory must be made for every module for which you want to include document templates (equal to the modulename of that module as set in config.inc.php). Then a subdirectory in that directory must be made according to the name of the node for which you want to include document templates. In this subdirectory you can put your document template files. So if you have $config_doctemplatedir set to 'doctemplates/' then you can put your documents in 'doctemplates/modulename/nodename/'.,doctemplates/',handlers\class.atkdocumenthandler.inc | ||||||
| ATTRIBUTE | $config_durationformat | Duration time format: 1 => decimal format 0 => time format | 0 set in atkconfig calls | attributes\class.atkdurationattribute.inc | ||||
| ATTRIBUTE | $config_edit_fieldprefix | ????? | ' set in atkconfig call | class.atknode.inc | ||||
| ATTRIBUTE | $config_fck | Array of fck editor options | attributes\class.atkfckattribute.inc | |||||
| ATTRIBUTE | $config_fck_filemanager_enabled | You must explicitly enable this 'connector'. (Set it to 'true') | FALSE | attributes\fck\editor\filemanager\connectors\php\config.php | ||||
| ATTRIBUTE | $config_fck_upload_absolute_path | Fill the following value it you prefer to specify the absolute path for the user files directory. Useful if you are using a virtual directory symbolic link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/' // Attention: The above 'UserFilesPath' must point to the same directory. | attributes\fck\editor\filemanager\connectors\php\config.php | |||||
| ATTRIBUTE | $config_fck_upload_path | Path to user files relative to the document root. | ../atktmp/' | attributes\fck\editor\filemanager\connectors\php\config.php | ||||
| ATTRIBUTE | $config_list_obligatory_null_item | Lists that are obligatory by default have no 'Select none' option. In some applications this leads to the user just selecting the first item since that is the default. If this is a problem set this config variable to true; this will add a 'Select none' option to obligatory lists so the user is forced to make a selection. | FALSE | attributes\class.atklistattribute.inc | ||||
| ATTRIBUTE | $config_max_input_size | The maximum length of an HTML input field generated by atkAttribute or descendants | 70 | attributes\class.atkattribute.inc | ||||
| ATTRIBUTE | $config_site_url | The atkWysiwygAttribute class is an MS IE html edit control thingee. @deprecated This attribute is no longer maintained please use the atkFckAttribute instead. | Attributes\class.atkwysiwygattribute.inc | |||||
| ATTRIBUTE | $config_ww_defaultview | The atkWysiwygAttribute class is an MS IE html edit control thingee. @deprecated This attribute is no longer maintained please use the atkFckAttribute instead. | attributes\class.atkwysiwygattribute.inc | |||||
| CACHE | $config_cache | Array of cache configuration parameters | cache\class.atkcache.inc | |||||
| CACHE | $config_cache['context'] | Required by atkcache | cache\class.atkcache.inc | |||||
| CACHE | $config_cache['host'] | Require by memcache | ||||||
| CACHE | $config_cache['lifetime'] | Required by atkcache | ||||||
| CACHE | $config_cache['password'] | Required by xcache | ||||||
| CACHE | $config_cache['path'] | Required by atkcache | ||||||
| CACHE | $config_cache['port'] | Require by memcache | ||||||
| CACHE | $config_cache['timeout'] | Require by memcache | ||||||
| CACHE | $config_cache['user'] | Required by xcache | ||||||
| CACHE | $config_cache_active | Cache active or not ? | true set in atkconfigcall | cache\class.atkcache.inc | ||||
| CACHE | $config_cache_method | Cache method - For the configuration of atkCache See: http:www.achievo.org/wiki/ATK_Cache | var' | cache\class.atkcache.inc | ||||
| CACHE | $config_cache_namespace | Cache namespace change this when you are hosting your application on a shared hosting. | default' | cache\class.atkcache_apc.inc | ||||
| DB | $config_database_sequenceprefix | Default sequence prefix. | seq_' | meta\class.atkmetapolicy.inc | ||||
| DB | $config_databasepersistent | Wether or not to use a persistent connection. * Note that this is usefull if you don't have a lot of applications doing this as the application won't constantly have to connect to the database.
However the database server won't be able to handle a lot of persistent connections. ||TRUE ||db\class.atkoci9db.inc | ||||||
| DB | $config_date_to_char | Sets format of string returned from date field to char | Y-m-d' set in atkconfig call | db\class.atkdb.inc | ||||
| DB | $config_db | Array of database configuration parameters | db\class.atkdb.inc | |||||
| DB | $config_db['default']['db'] | DB name | ' | db\class.atkdb.inc | ||||
| DB | $config_db['default']['driver'] | Currently supported drivers are: 'mysql' - All MySQL versions since 3.23, 'mysqli' - MySQL 4.1+. This one has transaction support, 'oci805' - Oracle 8.0.5, 'oci8' - All Oracle 8i versions, 'oci9' - Oracle9i+ (also works for 10G), 'pgsql' - PostgreSQL 7.1+, 'mssql' - Microsoft SQL Server | mysqli,db\class.atkdb.inc | |||||
| DB | $config_db['default']['host'] | DB Host | localhost | db\class.atkdb.inc | ||||
| DB | $config_db['default']['password'] | DB User password | ' | db\class.atkdb.inc | ||||
| DB | $config_db['default']['user'] | DB User | ' | db\class.atkdb.inc | ||||
| DB | $config_db_cluster | Database Cluster nodes | eg $config_db_cluster['default'] = array('master' 'slave' 'slave2'); | array() | Not used ?? | |||
| DB | $config_db_mysql_default_$generictype | db\class.atkdb2ddl.inc | ||||||
| DB | $config_db_sequence_field | db\class.atkdb2db.inc | ||||||
| DB | $config_db_sequence_namefield | db\class.atkdb2db.inc | ||||||
| DB | $config_db_sequence_table | db\class.atkdb2db.inc | ||||||
| DB | $config_mysqlfetchmode | Backwardscompatibility setting. Set this to MYSQL_BOTH if your software relies on numerical indexes (WHICH IS A BAD IDEA!!) | defined('MYSQL_ASSOC') ? MYSQL_ASSOC : 0 | db\class.atkmysqldb.inc | ||||
| DB | $config_pgsqlfetchmode | Backwardscompatibility setting. Set this to PGSQL_BOTH if your software relies on numerical indexes (WHICH IS A BAD IDEA!!) | defined('PGSQL_ASSOC') ? PGSQL_ASSOC : 0 | db\class.atkpgsqldb.inc | ||||
| FOLDERS | $config_application_dir | Root directory of your application code (modules/themes/configuration files/etc) relative to the script calling ATK. Defaults to the atkroot. | $config_atkroot | ui\class.atktheme.inc | ||||
| FOLDERS | $config_application_root | The application root. If you're using urlrewrites within your httpd or htaccess configuration i think this should be '/'. Be careful with this setting because it could create a major securityhole. It is used to set the cookiepath when using PHP sessions. | /' | security\class.auth_interface.inc | ||||
| FOLDERS | $config_atkroot | The root of the ATK application where the atk/ directory resides | ./' | atktools.inc | ||||
| FOLDERS | $config_atktempdir | cache\class.atkcache_file.inc | ||||||
| FOLDERS | $config_atktempdir | The location of a directory that is writable to ATK and that ATK can store it's temporary files in. | $config_application_dir . 'atktmp/' | cache\class.atkcache_file | ||||
| FOLDERS | $config_configdir | The location of the module specific configuration files. | $config_application_dir . 'configs/' | class.atkconfig.inc | ||||
| FOLDERS | $config_corporate_module_base | ??? | ' | modules\atkmoduletools.inc | ||||
| FOLDERS | $config_corporate_node_base | ??? | ' | modules\class.atkmodule.inc | ||||
| FOLDERS | $config_module_path | * Module path (without trailing slash!) where the modules directory resides defaults to the atk root so not IN the atk/ directory but more likely in the application root | $config_application_dir . 'modules' | |||||
| FOLDERS | $config_zend_framework_path | Zend framework path (relative to ATK root). Example: '../library/Zend/'; | null | atktools.inc | ||||
| FOLDERS | $config_ziplocation | utils\class.atkzip.inc | ||||||
| FOLDERS | $config_zipmode | utils\class.atkzip.inc | ||||||
| META | $config_meta_caching | Cache table meta data and compiled meta node code. On development environments this option should be set to false but on production environments you should really enable it. If you enable | this option and your table structure changes you should manually clear the cache in the atktmp directory! | FALSE in SKEL TRUE in DEF | class.atkmetanode.inc | |||
| META | $config_meta_compiler | Use the given meta compiler as the default meta compiler. | atk.meta.compiler.atkmetacompiler' | meta\compiler\class.atkmetacompiler.inc | ||||
| META | $config_meta_grammar | Use the given meta grammar as the default meta grammar. | atk.meta.grammar.atkmetagrammar' | meta\grammar\class.atkmetagrammar.inc | ||||
| META | $config_meta_policy | Use the given meta policy as the default meta policy. | atk.meta.atkmetapolicy' | meta\class.atkmetapolicy.inc | ||||
| NODE | $config_enable_export_save_selection | handlers\class.atkexporthandler.inc | ||||||
| NODE | $config_export_delimiter | Optionally set the export file parameters (ATK 7.0+) $config_export_delimiter = ' '; | handlers\class.atkexporthandler.inc | |||||
| NODE | $config_export_enclosure | Optionally set the export file parameters (ATK 7.0+) $config_export_enclosure = '"'; | handlers\class.atkexporthandler.inc | |||||
| NODE | $config_export_title_row_checked | Optionally set the export file parameters (ATK 7.0+) $config_export_export_title_row_ticked = 'checked'; | handlers\class.atkexporthandler.inc | |||||
| NODE | $config_extended_search_action | Default extended search action. This action can always be overriden in the node by using $node->setExtendedSearchAction. At this time (by default) the following values are supported: 'search' or 'smartsearch' | search | class.atknode.inc | ||||
| NODE | $config_lock_type | Lock type only supported type at this time is 'db'. If empty locking is disabled. | ' | class.atknode.inc | ||||
| NODE | $config_search_defaultmode | The default searchmode | substring' | class.atknode.inc | ||||
| NODE | $config_showmaximporterrors | handlers\class.atkimporthandler.inc | ||||||
| NODE | $config_recordlist_onclick | Set to true, clicking on a record redirects to its view or edit page | false | |||||
| NODE | $config_reverse_attributeaccess_logic | Inverts check logic of attributes rights: default all allowed, the "attribaccess" table will store attributes modes not allowed | false; | |||||
| PHP | $config_allowed_includes | skel/include.php is the skeleton main include wrapper which you can copy to your application dir ad modify if necessary. It is used to include popups in a safe manner. Any popup loaded with this wrapper has session support and login support. Only files defined in the $config_allowed_includes array are allowed to be included. | array('atk/lock/lock.php', 'atk/lock/lock.js.php', 'atk/popups/help.inc', 'atk/popups/colorpicker.inc', 'atk/ext/captcha/img/captcha.jpg.php') | skel\include.php | ||||
| PHP | $config_autoload_classes | Use the ATK autoloader for ATK classes. | TRUE | include\initial.inc | ||||
| PHP | $config_autoload_reindex_on_missing_class | Re-index the cached class list when a class is missing? When this option is turned off you should manually delete the cached classes file (atktmp/classes.inc) when updating ATK to a newer version. It's recommended to not change the value of this option unless you are an ATK developer. | FALSE | utils\class.atkclassloader.inc | ||||
| PHP | $config_cookiedomain | security\class.auth_interface.inc | ||||||
| PHP | $config_debug | The debug level. -1 - No debug information 0 - No debug information but still stored for atk errormails 1 - Print some debug information at the bottom of each screen 2 - Print debug information and pause before redirects 3 - Like 2 but also adds trace information to each statement | 0 | atktools.inc | ||||
| PHP | $config_debug_translations | Output missing translation 'errors'. | FALSE | class.atklanguage.inc | ||||
| PHP | $config_debuglog | Set to a file to log debug information enabled by $config_debug | ' | atktools.inc | ||||
| PHP | $config_default_charset | atktools.inc | ||||||
| PHP | $config_dispatcher | The dispatcher all request (should) lead to this setting. | index.php' | menu\class.atkmenu.inc | ||||
| PHP | $config_error_handlers | atktools.inc | ||||||
| PHP | $config_frontcontroller_bridge | front\class.atkfrontcontroller.inc | ||||||
| PHP | $config_halt_on_error | ??? | critical' | ??? | ||||
| PHP | $config_mail_enabled | Enable / disable sending of e-mails (works only if the atk.utils.atkMailer::Send function has been used for sending e-mails). Note: atk.utils.atkMail::mail is deprecated but is still enabled/disabled by this setting. | TRUE | utils\class.atkmail.inc | ||||
| PHP | $config_mail_redirect | Redirect e-mails to a specified address (works only if the atk.utils.atkMailer::Send function has been used for sending e-mails). | utils\class.atkmailer.inc | |||||
| PHP | $config_mail_sender | errors\class.atkmailerrorhandler.inc | ||||||
| PHP | $config_mailreport | The automatic error reporter Error reports are sent to this email address. If you set this to error reporting will be turned off. | ||||||
| PHP | $config_mailreport | Automatic error reporting is turned off by default. | ' | atktools.inc | ||||
| PHP | $config_missing_class_handler | modules\class.atkmodule.inc | ||||||
| PHP | $config_output_gzip | Set to true to output pages gzip compressed to the browser if the browser supports it. | FALSE | ui\class.atkoutput.inc | ||||
| PHP | $config_server_default_protocol | interface\class.atkserver.inc | ||||||
| PHP | $config_session_cache_expire | Session cache expire (minutes) | 180 | session\class.atksessionmanager.inc | ||||
| PHP | $config_session_cache_limiter | Session cache limiter Possible values: - nocache - public (permits caching by proxies and clients - private (permits caching by clients - private_no_expire (permits caching by clients but not sending expire headers >PHP4.2.0) | nocache | session\class.atksessionmanager.inc | ||||
| PHP | $config_session_init | Initialize sessions by default. When atksessionmanager is included if this configuration value is true (by default) ATK will configure and start a PHP session for you. When you do not want this (in CLI environnements?) you can disable this in your script. DO NOT ENABLE IN THIS CONFIG or you won't be able to set it in your script. Appears here for documentation purposes only. | $config_session_init = true; | session\class.atksessionmanager.inc | ||||
| PHP | $config_session_max_stack_inactivity_period | session\class.atksessionmanager.inc | ||||||
| PHP | $config_session_name | The session name. If this configuration option is not set the $config_identifier option is used instead. | ' | session\class.atksessionmanager.inc | ||||
| PHP | $config_smart_debug | Smart debug parameters. Is used to dynamically enable debugging for certain IP addresses or if for example the special atkdebug[key] request variable equals a configured key etc. If smart debugging is enabled You can also change the debug level dynamically using the special atkdebug[level] request variable. | $config_smart_debug = array('type' => 'request' 'key' => 'test'); $config_smart_debug = array('type' => 'ip' 'list' => array('10.0.0.4')); | array() | ||||
| PHP | $config_state_cookie_expire | The default cookie expiry time (in minutes) (7 days) | 10800 | session\class.atkstate.inc | ||||
| PHP | $config_throw_exception_on_error | Normally atkerror silently ignores an error and sends an e-mail and/or adds the error to the debug output. Using this switch ATK will throw an exception when atkerror is called. | FALSE | atktools.inc | ||||
| PHP | $config_unziplocation | utils\class.atkzip.inc | ||||||
| PHP | $config_use_atkerrorhandler | Use the built-in ATK error handler (highly recommended!) | TRUE | include\initial.inc | ||||
| PHP | $config_use_browser_language | Use browser language to detect application language. By default set to false to remain backwards compatible. | FALSE | class.atklanguage.inc | ||||
| PHP | $config_use_keyboard_handler | Wether or not to use the keyboardhandler for attributes and the recordlist When set to true arrow keys can be used to navigate through fields and records as well as shortcuts 'e' for edit 'd' for delete and left/right cursor for paging. Note however that using cursor keys to navigate through fields is not standard web application behaviour. | FALSE | attributes\class.atkattribute.inc | ||||
| PHP | $config_use_mbstring | utils\class.atkstring.inc | ||||||
| RELATIONSHIP | $config_manytoone_autocomplete_default | Should all many-to-one relations have the AF_RELATION_AUTOCOMPLETE flag set? | FALSE | relations\class.atkmanytoonerelation.inc | ||||
| RELATIONSHIP | $config_manytoone_autocomplete_size | 50 | ||||||
| RELATIONSHIP | $config_manytoone_autocomplete_large | Should all many-to-one relations that have the AF_LARGE flag set also have the AF_RELATION_AUTOCOMPLETE flag set? | TRUE | relations\class.atkmanytoonerelation.inc | ||||
| RELATIONSHIP | $config_manytoone_autocomplete_minchars | Controls how many characters a user must enter before an auto-completion search is being performed. | 2 | relations\class.atkmanytoonerelation.inc | ||||
| RELATIONSHIP | $config_manytoone_autocomplete_search_case_sensitive | Value determines wether the search of the autocompletion is case-sensitive. | FALSE | relations\class.atkmanytoonerelation.inc | ||||
| RELATIONSHIP | $config_manytoone_autocomplete_searchmode | The search mode of the autocomplete fields. Can be 'startswith' 'exact' or 'contains'. | contains' | relations\class.atkmanytoonerelation.inc | ||||
| RELATIONSHIP | $config_manytoone_search_autocomplete | Should manytoone relations having the AF_RELATION_AUTOCOMPLETE flag also use auto completion in search forms? | TRUE | relations\class.atkmanytoonerelation.inc | ||||
| RELATIONSHIP | $config_onetomany_addlink_position | relations\class.atkonetomanyrelation.inc | ||||||
| SECURITY | $config_administratorpassword | If you specify an administrator password here you are always able to login using user 'administrator' and the specified password regardless of the type of authentication used! If you set it to nothing () administrator login is disabled and only valid users are allowed to login (depending on the type of authentication used). | 'demo' in SKEL | security\class.atksecuritymanager.inc | ||||
| SECURITY | $config_auth_accessfield | If left empty auth_levelfield is used | ' | security\class.auth_db.inc | ||||
| SECURITY | $config_auth_accesslevelfield | security\class.auth_db.inc | ||||||
| SECURITY | $config_auth_accesstable | If you work with groups/levels you need these parameters - $config_auth_leveltable $config_auth_levelfield config_auth_accesstable,accessright | in SKEL 'access' in DEF | security\class.auth_db.inc | ||||
| SECURITY | $config_auth_accountdisablefield | ??? | ' | security\class.auth_db.inc | ||||
| SECURITY | $config_auth_accountenableexpression | This parameter can be used to specify a where clause which will be used to validate users login credentials | ' | security\class.auth_sspi.inc | ||||
| SECURITY | $config_auth_changerealm | When changerealm is true the authentication realm is changed on every login. Advantage: the user is able to logout using the logout link. Disadvantage: browser's 'remember password' feature won't work. This setting only affects the http login box so it is only relevant if $config_auth_loginform is set to false. The default is true for backwardscompatibility reasons. For new applications it defaults to false since the skel setting is set to false by default. | FALSE in SKEL TRUE in DEF | security\class.atksecuritymanager.inc | ||||
| SECURITY | $config_auth_database | ??? | default' | security\class.auth_db.inc | ||||
| SECURITY | $config_auth_dropdown | ??? | FALSE | security\class.atksecuritymanager.inc | ||||
| SECURITY | $config_auth_emailfield | security\class.atksecuritymanager.inc | ||||||
| SECURITY | $config_auth_enablepasswordmailer | security\class.atksecuritymanager.inc | ||||||
| SECURITY | $config_auth_grantall_privilege | By default there is no 'grantall' privilege. Apps can set this if necessary. Syntax: 'module.nodename.privilege' | attributes\class.atkprofileattribute.inc | |||||
| SECURITY | $config_auth_groupfield | Name of table containing the groups. (only necessary to support hierarchical groups!). | ' | security\class.auth_db.inc | ||||
| SECURITY | $config_auth_groupparentfield | Name of table containing the groups. (only necessary to support hierarchical groups!). | ' | security\class.auth_db.inc | ||||
| SECURITY | $config_auth_grouptable | Name of table containing the groups. (only necessary to support hierarchical groups!). | ' | security\class.auth_db.inc | ||||
| SECURITY | $config_auth_languagefield | ??? | lng' | class.atklanguage.inc | ||||
| SECURITY | $config_auth_ldap_bind_dn | if you use 'ldap' as authentication set host name and can't bind anomynous use an account to bind within the tree - set dn | ' | security\class.auth_ldap.inc | ||||
| SECURITY | $config_auth_ldap_bind_tree | if you use 'ldap' as authentication set host name and can't bind anomynous use an account to bind | FALSE | security\class.auth_ldap.inc | ||||
| SECURITY | $config_auth_ldap_context | if you use 'ldap' as authentication set context | security\class.auth_ldap.inc | |||||
| SECURITY | $config_auth_ldap_host | if you use 'ldap' as authentication set host name | security\class.auth_ldap.inc | |||||
| SECURITY | $config_auth_ldap_search_filter | if you use 'ldap' as authentication set search filter | uid' | security\class.auth_ldap.inc | ||||
| SECURITY | $config_auth_levelfield | If you work with groups/levels you need these parameters - $config_auth_leveltable $config_auth_levelfield config_auth_accesstable | group_id' in SKEL 'entity' in DEF | security\class.auth_db.inc | ||||
| SECURITY | $config_auth_leveltable | If you work with groups/levels you need these parameters - $config_auth_leveltable $config_auth_levelfield config_auth_accesstable | 'users' in SKEL in DEF | security\class.auth_db.inc | ||||
| SECURITY | $config_auth_loginform | Setting this to true will make ATK use a loginform instead of a browser popup. | TRUE | security\class.atksecuritymanager.inc | ||||
| SECURITY | $config_auth_loginpage | security\class.atksecuritymanager.inc | ||||||
| SECURITY | $config_auth_mail_login_type | security\class.auth_imap.inc | ||||||
| SECURITY | $config_auth_mail_port | If you use 'pop3' or 'imap' as authentication - set Port of the mail server (default is 110 (pop3) but you can set it to 143 (imap) or something else. | 110 | security\class.auth_imap.inc | ||||
| SECURITY | $config_auth_mail_server | If you use 'pop3' or 'imap' as authentication - need to set Mail server name | localhost' | security\class.auth_imap.inc | ||||
| SECURITY | $config_auth_mail_suffix | If you use 'pop3' or 'imap' as authentication - Need to set Mail suffix if mail_virtual is set to true. | eg company.com | security\class.auth_imap.inc | ||||
| SECURITY | $config_auth_mail_virtual | If you use 'pop3' or 'imap' as authentication - Set this to true if you have virtual mail domains. Atk will append '@' and the $config_auth_mail_suffix to the login name. | FALSE | security\class.auth_pop3.inc | ||||
| SECURITY | $config_auth_passwordfield | If you use 'db' as authentication type you can set the table and fields from which atk should read the username and password information. ($config_auth_usernode $config_auth_usertable $config_auth_userfield $config_auth_passwordfield) | 'password' | security\class.auth_db.inc | ||||
| SECURITY | $config_auth_reloadusers | security\class.auth_sspi.inc | ||||||
| SECURITY | $config_auth_saml_authsource | security\class.auth_saml.inc | ||||||
| SECURITY | $config_auth_saml_simplesaml_path | security\class.auth_saml.inc | ||||||
| SECURITY | $config_auth_sspi_accountfield | security\class.auth_sspi.inc | ||||||
| SECURITY | $config_auth_sspi_trusted_domains | security\class.auth_sspi.inc | ||||||
| SECURITY | $config_auth_usecryptedpassword | This parameter specified whether passwords are stored using the php/perl crypt() function. Applications using this are Bugzilla. Setting this to true and setting $config_authentication_md5 to false allows users to login to applications where the database uses crypted passwords. | FALSE | security\class.auth_db.inc | ||||
| SECURITY | $config_auth_userdescriptor | ??? | [' . $config_auth_userfield . ']' | security\class.auth_db.inc | ||||
| SECURITY | $config_auth_userfield | If you use 'db' as authentication type you can set the table and fields from which atk should read the username and password information. $config_auth_usernode = ; $config_auth_usertable = 'user'; $config_auth_userfield = 'userid'; $config_auth_passwordfield = 'password'; | 'userid' | security\class.atksecuritymanager.inc | ||||
| SECURITY | $config_auth_userfk | security\class.auth_db.inc | ||||||
| SECURITY | $config_auth_userid_field | security\class.auth_saml.inc | ||||||
| SECURITY | $config_auth_usernode | If you use 'db' as authentication type you can set the table and fields from which atk should read the username and password information. ($config_auth_usernode $config_auth_usertable $config_auth_userfield $config_auth_passwordfield) | attributes\class.atkupdatedbyattribute.inc | |||||
| SECURITY | $config_auth_userpk | Primary key of usertable | userid' | handlers\class.atkexporthandler.inc | ||||
| SECURITY | $config_auth_usertable | If you use 'db' as authentication type you can set the table and fields from which atk should read the username and password information. ($config_auth_usernode $config_auth_usertable $config_auth_userfield $config_auth_passwordfield) | 'user' | security\class.atksecuritymanager.inc | ||||
| SECURITY | $config_authentication | The type of authentication (user/password verification) to use. Currently supported are: 'none' - no authentication 'config' - users / passwords are set in this configfile 'db' - users / passwords are stored in a table in the database. 'imap' - users / passwords are stored in the IMAP server 'pop3' - users / passwords are stored in the POP3 server 'ldap' - users / passwords are stored in an LDAP server 'server' - authentication is done by the webserver (.htaccess) custom type with a fullclassname like 'module.mymodule.myauth' (syntax similar as atknew or atkimport) if you need to use multiple authentication types list them delimited by comma If you have config_authentication set to 'config' you may specify a set of usernames and passwords (in plain text). Example: atkConfig::addUser('harry' 'password'); If securityscheme is 'level' or 'group' you may also specify the level or group as third parameter: atkConfig::addUser('harry' 'password' 3); atkConfig::addUser('harry' 'password' 'admins'); Access using $config_$auth_user . 'password') | 'none' | security\class.atksecuritymanager.inc | ||||
| SECURITY | $config_authentication_cookie | If set to true a cookie with username/password is written so users will stay logged in even if they close their browser. | FALSE | security\class.atksecuritymanager.inc | ||||
| SECURITY | $config_authentication_cookie_expire | The default cookie expiry time (in minutes) (7 days) | 10800 | security\class.atksecuritymanager.inc | ||||
| SECURITY | $config_authentication_ldap_context | if you use 'ldap' as authentication set context "" | atk\defaultconfig.php | |||||
| SECURITY | $config_authentication_ldap_field | if you use 'ldap' as authentication set host name | ' | atk\defaultconfig.php | ||||
| SECURITY | $config_authentication_ldap_host | if you use 'ldap' as authentication set host name | ' | atk\defaultconfig.php | ||||
| SECURITY | $config_authentication_md5 | The type of authorization (what is a user allowed to do?) Normally this will be the same as the authentication but in special cases like POP3 authentication you might want to authorize via a table in the database. $config_authorization = 'none'; NOTE the following options are only useful if authentication is not set to 'none'. This parameter specifies whether the passwords are stored as an md5 string in the database / configfile / whatever. If set to false the passwords are assumed to be plain text. Note: Not all authentication methods support md5! e.g if you use pop3 authentication set this to false. Note2: If set to false and authentication_cookie is set to true the password in the cookie will be stored plaintext!!! | TRUE | security\class.atksecuritymanager.inc | ||||
| SECURITY | $config_authentication_session | Use the session to store authentication information. | TRUE | include\security.inc | ||||
| SECURITY | $config_authorization | include\security.inc | ||||||
| SECURITY | $config_enable_ssl_encryption | This should be turned on when an application makes use of OpenSSL encryption (atk.security.encryption.atkopensslencryption) It makes sure that the user password is available in the session for the private key. | FALSE | security\class.atksecuritymanager.inc | ||||
| SECURITY | $config_encryption_defaultmethod | The default encryption method for atkEncryption | base64' | security\encryption\class.atkencryption.inc | ||||
| SECURITY | $config_guestpassword | The password to use for guest login. A guest password that is empty will *DISABLE* guest login! | security\class.atksecuritymanager.inc | |||||
| SECURITY | $config_identifier | Unique application identifier | atkapp' in SKEL 'default' in DEF | session\class.atksessionmanager.inc | ||||
| SECURITY | $config_logfile | Write security events to a logfile.(Need to set $config_logging) | '/atktmp/security.log' | security\class.atksecuritylistener.inc | ||||
| SECURITY | $config_logging | Write security events to a logfile.(Need to set $config_logfile) There are several values you can choose for $config_logging. 0 - No logging 1 - Log login failures 2 - Log login failures and logins / logout 3 - Log actions ('User x performed action x on module y'),0,security\class.atksecuritylistener.inc | ||||||
| SECURITY | $config_max_loginattempts | Timeout imposed after this many failed login attempts No maximum if set to 0 | 5 | security\class.atksecuritymanager.inc | ||||
| SECURITY | ;:'\' .<>/?,$config_password_minsize = 0; $config_password_minupperchars = 0; $config_password_minlowerchars = 0; $config_password_minalphabeticchars = 0; $config_password_minnumbers = 0; $config_password_minspecialchars = 0; | attributes/class.atkpasswordattribute.inc | ||||||
| SECURITY | $config_restrictive | If config_restrictive is set to true access is denied for all features for which no access requirements are set. If set to false access is always granted if no access requirements are set. | TRUE | security\class.auth_interface.inc | ||||
| SECURITY | $config_securerelation_decrypterror | relations\class.atksecurerelation.inc | ||||||
| SECURITY | $config_security_attributes | ???? | FALSE | security\class.auth_interface.inc | ||||
| SECURITY | $config_security_listeners | var string - name of security listener name in ATK import format or @var array - array of security listener names | atk.security.atksecuritylistener | security\class.atksecuritymanager.inc | ||||
| SECURITY | $config_securityscheme | The security scheme is used to determine who is allowed to do what. Currently supported: 'none' - anyone who is logged in may do anything. 'level' - users have a certain level and certain features of the application require a minimum level. 'group' - users belong to a group and certain features may only be executed by a specific group.,none',include\security.inc | ||||||
| TEST | $config_test_db_mapping | Test database mapping. Maps normal databases to their test database. Most of the applications only use one database in that case the default should be sufficient. But in case you use multiple database and also want to run tests on all these database you can override this mapping or add your own mappings. | array('default' => 'test') | test\class.atktestcase.inc | ||||
| TEST | $config_testroot | test\bootstrap.inc | ||||||
| UI | $config_atklanguagecheckmodule | Module/node checking for strings in atkLanguage (if you don't know don't change) comment out to disable checking for module of node 1 to check just for node 2 to check for module and node | 2 | |||||
| UI | $config_automenu | meta\module.inc | ||||||
| UI | $config_clear_search | Add Clear Search button to admin/list view (ATK 7.0+) | TRUE | datagrid\class.atkdglist.inc | ||||
| UI | $config_datagrid_class | Use the given class for creating datagrids. | atk.datagrid.atkdatagrid' | datagrid\class.atkdatagrid.inc | ||||
| UI | $config_defaultfavico | ui\class.atkpage.inc | ||||||
| UI | $config_defaulthandler | ui\class.atksmarty.inc | ||||||
| UI | $config_defaultlanguage | Default language | en' | attributes\class.atkmlattribute.inc | ||||
| UI | $config_defaultmodifier | ui\class.atksmarty.inc | ||||||
| UI | $config_defaulttheme | The theme defines the layout of your application. You can see which themes there are in the directory atk/themes. | 'stillblue' | class.layout.inc | ||||
| UI | $config_dhtml_tabs_stateful | Whatever DHTML tabs should be stateful or not (E.g. the current tab is saved for the current node/selector combination) | TRUE | |||||
| UI | $config_display_errors | ??? | TRUE | utils\class.atkdebugger.inc | ||||
| UI | $config_doctype | '<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' | 'http://www.w3.org/TR/html4/loose.dtd' | ui\class.atkpage.inc | ||||
| UI | $config_enable_ie_extensions | Wether or not to enable Internet Explorer extensions | FALSE in SKEL TRUE in DEF | atkbrowsertools.inc | ||||
| UI | $config_enable_showall | Add a 'show all' option to the records per page selector. | TRUE | datagrid\class.atkdglimit.inc | ||||
| UI | $config_force_theme_recompile | Forces the themecompiler to recompile the theme all the time This can be handy when working on themes. | FALSE | ui\class.atktheme.inc | ||||
| UI | $config_fullscreen | If the users are using IE then the application can be run in fullscreen mode. | FALSE | skel\index.php | ||||
| UI | $config_language | The language of the application. You can use any language for which a language file is present in the atk/languages directory.,en',class.atklanguage.inc | ||||||
| UI | $config_language_basedir | ??? | languages/' | class.atklanguage.inc | ||||
| UI | $config_language_modulefallback | class.atklanguage.inc | ||||||
| UI | $config_lose_changes_warning | Warn the user if he/she has changed something in a form and leaves the page without pressing save or cancel. | FALSE | handlers\class.atkedithandler.inc | ||||
| UI | $config_menu_align | ??? | center' | menu\class.atkframesmenu.inc | ||||
| UI | $config_menu_delimiter | If you use a horizontal menu ($config_menu_pos is 'top' or 'bottom') you may want to change the menu_delimiter to ' ' $config_menu_delimiter is what atk puts between menu items | ' in SKEL ' | |||||
| UI | $config_menu_layout | ??? | modern' | menu\class.atkmenu.inc | ||||
| UI | $config_menu_logout_link | ??? | FALSE | ???? | ||||
| UI | $config_menu_logout_link | menu\class.atkdropdownmenu.inc | ||||||
| UI | $config_menu_params | menu\class.atkplainmenu.inc | ||||||
| UI | $config_menu_pos | You can have a menu at 'top' 'left' 'right' or 'bottom' | 'left' | menu\class.atkplainmenu.inc | ||||
| UI | $config_menufile | menu\class.atkplainmenu.inc | ||||||
| UI | $config_multilanguage_linked | True: one language switch attributes automatically switches all others on screen. False: each language switch attributes operates only on it's own node | TRUE | attributes\class.atkmlselectorattribute.inc | ||||
| UI | $config_pagelinks | The (max) number of page navigation links to show | 10 | datagrid\class.atkdgpaginator.inc | ||||
| UI | $config_pagelinks_first_last | Add links to first & last pages | false | datagrid\class.atkdgpaginator.inc | ||||
| UI | $config_pagelinks_previous_next | Add links to previous and next pages | true | datagrid\class.atkdgpaginator.inc | ||||
| UI | $config_recordlist_icons | Show icons in the recordlist (or text if not set) | TRUE | recordlist\class.atkrecordlist.inc | ||||
| UI | $config_recordlist_javascript_delete | Make the recordlist use a javascript confirm box for deleting instead of a seperate page | FALSE | recordlist\class.atkrecordlist.inc | ||||
| UI | $config_recordlist_orientation | recordlist\class.atkrecordlist.inc | ||||||
| UI | $config_recordlist_vorientation | recordlist\class.atkrecordlist.inc | ||||||
| UI | $config_recordsperpage | In admin pages atk shows you a number of records with previous and next buttons. You can specify the number of records to show on a page. | 25 | datagrid\class.atkdatagrid.inc | ||||
| UI | $config_recordsperpage_options | The number of records per page options to display on drop down list | array(15 25 50 100 500) | datagrid\class.atkdglimit.inc | ||||
| UI | $config_smarty_forcecompile | ui\class.atksmarty.inc | ||||||
| UI | $config_stacktrace | Display a 'stack' of the user activities in the top right corner. | TRUE | class.atknode.inc | ||||
| UI | $config_supported_languages | Supported languages | array('EN' 'NL' 'DE') | class.atklanguage.inc | ||||
| UI | $config_supported_languages_module | Where ATK should look for it's supported languages. In your own application you should probably make this the module with the most language translations. Leaving this empty will turn off functionality where we check for the user language in the browser or in the user session and will make sure the application is always presented in the default language. This config var also accepts 2 'special' modules: - atk (making it use the languages of ATK) - langoverrides (making it use the language overrides directory) | class.atklanguage.inc | |||||
| UI | $config_tabs | Wether tabs are enabled or not | TRUE | class.atknode.inc | ||||
| UI | $config_tabselectMode | menu\class.atkdhtmlmenu.inc | ||||||
| UI | $config_theme_login_logo | themes\steelblue\templates\login.tpl | ||||||
| UI | $config_theme_logo | themes\steelblue\templates\login.tpl | ||||||
| UI | $config_top_frame | If you have a menu at either left or right you can add an extra topframe by setting the following option to 1. If you set it to 1 you must provide a 'top.php' file in your application directory. | 1 in SKEL 0 in DEF | skel\app.php | ||||
| UI | $config_tplcachedir | ???? | $config_atktempdir . 'tplcache/' | ui\class.atksmarty.inc | ||||
| UI | $config_tplcachelifetime | default one hour | 3600 | ui\class.atksmarty.inc | ||||
| UI | $config_tplcaching | ???? | FALSE | ui\class.atksmarty.inc | ||||
| UI | $config_tplcompilecheck | Check templates to see if they changed | TRUE | ui\class.atksmarty.inc | ||||
| UI | $config_tplcompiledir | ???? | $config_atktempdir . 'compiled/tpl/' | ui\class.atksmarty.inc | ||||
| UI | $config_tplplugindir | ui\class.atksmarty.inc | ||||||
| UI | $config_tplroot | By default all templates are described by their relative path relative to the applications' root dir. | $config_application_dir | ui\class.atksmarty.inc | ||||
| UI | $config_tplusesubdirs | Use subdirectories for compiled and cached templates | FALSE | ui\class.atksmarty.inc | ||||
| SECURITY | $config_ldap_bind_pw | if you use 'ldap' as authentication set host name and can't bind anomynous use an account to bind within the tree - set pw | ' | |||||
| FOLDERS | $config_module_dirs | Directories that contains modules (needed for testcases) $config_module_dirs = array('/modules'); |