Constants
| Name | Description | Default |
|---|---|---|
| admin_disable_settings | Disables admin/settings.php | FALSE |
| admin_path | Directory of the admin backend | admin/ |
| allow_xml_output | FALSE disables AWF-XML export | TRUE |
| awf_cache_path | Cache directory | cache/awf/ |
| backend_language | Language of the admin backend | en |
| backup_maxage | Maximum age of the version history in seconds | 2678400 |
| backup_maxcount | Maximum count of versions before old versions are deleted (see backup_maxage) | 20 |
| base_path | Directory of your AWF2 installation (please don't forget the last slash) | /local/path/to/awf2/ |
| bind_login_to_ip | Makes logins valid for one IP only (more secure) | FALSE |
| browse_img_editor_only | Only editors can browse images (/images/index.html) | FALSE |
| css_path | Stylesheet directory | css/ |
| data_path | Directory of some data files, like the country list (countries.txt) | inc/data/ |
| db_auto_repair | Enable auto repair feature, which fixes broken DB tables automatically | TRUE |
| db_timeout | Time in seconds after which an error log is created | 5 |
| default_gid | Default group id | 2 (Users) |
| default_shortcut_resolver | Tell's AWF what to do if no namespace is provided e.g. home instead of home | wiki |
| demo_mode | Demo mode is used on demo.awf-cms.org so that no harmful actions can be performed | FALSE |
| design_changeable | If FALSE, the user select a design other than the default | TRUE |
| design_path | Directory of the design .ini files | inc/design/ |
| dir_create_mask | UNIX filesystem permissions for new directories | 0707 |
| disable_autolink | Currently not in use | FALSE |
| disable_php_exec | Disable execution of PHP code | TRUE |
| disable_wildcards | Currently not in use | FALSE |
| disable_wysiwyg | Disable the Spaw WYSIWYG editor | FALSE |
| doctypes_path | Location of the document type include files | inc/doctypes/ |
| error_reporting | Sets PHP's error reporting level | 1 (=E_ERROR) |
| file_create_mask | UNIX filesystem permission for new files | 0606 |
| img_path | Image directory | img/ |
| img_resize_max_size | Maximum size in pixels for image resizing | 480000 |
| inc_file_ext | Extension of include files | .inc |
| inc_path | Directory of the include files | inc/ |
| instant_publish | If TRUE, staging is disabled | TRUE |
| lang_path | Location of the language files | inc/lang/ |
| ldap_auth | Enable LDAP authorization | FALSE |
| ldap_sync | Sync user data with LDAP server | FALSE |
| lexicon_url | URL of the lexicon (%%server%% and %%id%% will be replaced) | %%server%%lexicon/ en/index/%%id%%/ index.html |
| logs_path | Log file directory | logs/ |
| modules_path | Location of the module include files | inc/modules/ |
| newbie_mode | If TRUE, additional help messages will be displayed | FALSE |
| php_ext | PHP file extension (for admin area) | .php |
| rss_template | Template for RSS export | rss/default.rss.tpl |
| sites_path | Directory of the site specific data | sites/ |
| smarty_cache_lifetime | This is the length of time in seconds that a template cache is valid. Once this time has expired, the cache will be regenerated. | 3600 |
| smarty_cache_path | Location of the smarty cache files | cache/smarty/ |
| smarty_caching | This tells Smarty whether or not to cache the output of the templates to the smarty_cache_path. | TRUE |
| smarty_compile_check | Upon each invocation of the PHP application, Smarty tests to see if the current template has changed (different time stamp) since the last time it was compiled. | TRUE |
| smarty_compile_path | Location of the compiled smarty templates | templates_c/ |
| smarty_config_path | Location of the smarty config file (optional) | inc/ |
| smarty_debugging | This enables the debugging console. The console is a javascript window that informs you of the included templates and assigned variables for the current template page. | FALSE |
| smarty_force_compile | This forces Smarty to (re)compile templates on every invocation. This setting overrides smarty_compile_check. | FALSE |
| smarty_path | Location of the smarty include file | inc/lib/smarty/ |
| spaw_path | Spaw directory | spaw/ |
| templates_path | Directory of the Smarty templates | templates/ |
| use_ldap | Enable LDAP (config in inc/ldap_server.ini) | FALSE |
| web_path | Path on your public web | / |
| webmaster_mail | eMail address of the webmaster | info@domain.com |
| wiki_default_page | Startpage of AWF Wikis | index |
| wiki_use_pear_renderer | Use PEAR::Text_Wiki for Wiki rendering | TRUE |
Please note: Constant names are converted to uppercase by AWF (logs_path will be LOGS_PATH for example).
Created: 21.01.2006 12:31 CET, Last Change: 01.02.2006 12:19 CET by paulm





