# Configuration files

## baseconfig.php

In the "baseconfig.php" file the config settings from the administration will be stored. For a server move only the variables
$webutler_config['server_path'] = "";
$webutler_config['homepage'] = "";
$webutler_config['user_name'] = "";
$webutler_config['user_pass'] = "";
must cleared, and the installation must be performed again. The file must be writable in order to save the settings from the Administration can.

### Variables at a glance

server_path | absolute server path "/home/yoursite/htdocs"
homepage | home page domain "http://www.yoursite.de"
user_name | User name - access for the administrator
user_pass | Password for the administrator
user_lang | Language of administration
startseite | Home page - Notification to call the index page
ownerrorpage | Custom error page
watermark_imgdir | Subdirectory for watermark images
imgthumbsize | Default for image scaling in the media browser
imgorgsize | Scaling of the original image to the lightbox
chmod | Write permissions set, according to the information of the provider the first value is for directories, the second for files

## globalvars.php

In the file "globalvars.php" can not administrable more basic settings are made. It is unique settings that should not be changed during operation. Therefore, they are not manageable and are located in a separate file.

In the globalvars.php can disable inter alia, various menu items. Thus, individual administration, depending on the scope of the home page and the desired functions realize. Over the Webmaster Login most functions are accessible despite deactivation.

### Variables at a glance

additional access for the webmaster
admin_name | User name
admin_pass | Password - md5(salt_key1.password.salt_key2) encrypt
admin_lang | Webmaster language of administration
Salt Keys
salt_key1 | String of: A to Z, a to z, 0 to 9 and #+-_*@%&§=!?
salt_key2 | String of: A to Z, a to z, 0 to 9 and #+-_*@%&§=!?
The Salt Keys can not be changed during operation. Otherwise, all passwords must be reassigned.
Login failed attempts
After 5 failed logins the IP of the user will be blocked.
logattemptmin | Minutes the blocking should be active Blank for unlimited login attempts
Search Engine Friendly URLs
modrewrite | 0 = disabled 1 = enabled
File extension of the SEO URLs
urlendung | Point with string (all lowercase) or empty for no extension
GET variables for modules
urlgetvars | Number of URL GET variables - must be extended accordingly in the htaccess.
Default language of the website
defaultlang | this language will be loaded if no other is found
Links to user or disused sites
offline_links | 0 = not change 1 = remove href but show link text 2 = remove link completely (only in menus, in continuous text the word preserved = as in 1)
Save steps to undo
How many "save steps to undo" should be available
schritte_zurueck | Enter number of steps
Advanced administrator features
Window "Advanced administrator features" only show for the webmaster
admin_erweitert | 1 = only webmaster 2 = always show
Display "Edit Current Page"
fullpageedit | 1 = In Admin menu 2 = In the Admin window "Advanced Settings"
Insert grid elements
insertgrid | 0 = disabled: Grid insert not show 1 = enabled: View insert grid
Display of the insertion points on the selection of a grid
insertpoints | 1 = See also on blocks and menus 2 = Show only on other grid and content elements
individual entering the grid spacing to top
insertmargin | 0 = disabled: Do not display margin-top input 1 = enabled: Show margin-top input
Offer categories
categories | 0 = disabled: do not display categories 1 = enabled: show categories
Checkbox current category highlighting
highlite_current | 0 = disabled: no checkbox 1 = enabled: show checkbox
Use the form modules
forms_modul | 0 = disabled: disables the receiver Administration 1 = enabled: Create receiver and select in editor
Multilanguage
Map pages of different languages
languages | 0 = disabled 1 = enabled
"Adding new languages" in the admin menu show only for the webmaster
setnewlang | 1 = only webmaster 2 = always show
View access rights control
Block pages, create users and user groups
userlogs | 0 = do not show 1 = show
Search function
If on the search results list, a search form is displayed?
searchshowinput | 0 = do not show 1 = show
How many results are displayed per page?
searchlistitems | Indicate number
On how many characters the search result should be reduced?
searchresultlen | Specify length
Script to create simple in-/output modules
View the ModMaker in the admin menu
makemod | 0 = do not show 1 = show
Show module administration areas
Link care in the file /settings/modulebox.php
modsonlog | 0 = do not show - for example, if there are no modules 1 = show only under the login 2 = show only in the Administration menu 3 = view below the login AND the Administration menu
Administration add, rename, and delete pages
adminnewpage | add: 0 = disabled 1 = enabled
adminpagename | rename: 0 = disabled 1 = enabled
admindelpage | delete: 0 = disabled 1 = enabled
Administration pattern and grids
Create editor pattern and grid elements
adminpattern | pattern: 0 = disabled 1 = enabled
admingrids | grids: 0 = disabled 1 = enabled
Administration layouts, menus und blocks
Editing functions for layouts, menus and blocks in the "Advanced Administrator Functions" window
adminlayouts | Layouts: 0 = disabled 1 = enabled
adminmenus | Menus: 0 = disabled 1 = enabled
adminblocks | Blocks: 0 = disabled 1 = enabled
Media browser popup
mediabrowser_wh | Value or percent value: array(window width, window height)
Image editor popup
imageeditor_wh | Value or percent value: array(window width, window height)
Font colors according to CI in the editor
editorcicolors | A maximum of 8 web color codes, separated by commas without diamond

## modulebox.php

In the "modulebox.php" links will be added to administration areas of individual modules. If there are modules and these should be directly called from the Webutler administration, the variable $webutler_moduleslist can be extended.

Scheme:
list = module('Module name', 'Link to module administration', 'show at login page')

Example:
$webutler_moduleslist = array(
array('News', 'news/admin.php'),
array('Galery', 'galery/admin.php', '-')
);

With the setting $webutler_config['modsonlog'] = 1 or 3 (globalvars.php), the display on the login page can be suppressed with an additional minus sign as the third parameter.

## searching.php

In the file "searching.php" can be set which is to be searched. The variable $webutler_pagesearches can be set to zero
$webutler_pagesearches = 0;
when pages from the directory /content/pages are not to be searched. In the variable $webutler_modulesearches the search plugins individual modules can be entered. The entry is made according to the following pattern:
$webutler_modulesearches[] = array('__PATH_OF_SEARCHPLUGIN__', '__FILENAME_INCLUDEPAGE__');
For the variable __PATH_OF_SEARCHPLUGIN__ the path is registered to the search plug-in file, starting from /modules directory - ie usually the module name. For the variable __FILENAME_INCLUDEPAGE__ the page is entered which loads the module.
Example: $webutler_modulesearches[] = array('news', 'aktuelles');
For multilingual sites must exist for each language an include page. These are then entered separated by commas. In the example, there is the german page "aktuelles", the english page "news" and the french page "actuel".
Example: $webutler_modulesearches[] = array('news', 'aktuelles,news,actuel');