openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit c7ed8dbf13f0289b368213a3b158d7eb2f99510e
parent a2c592c94243196b5830099f166419fc87d12d05
Author: dankert <devnull@localhost>
Date:   Thu,  4 Oct 2007 23:53:04 +0200

Einstellungen f?r Projekte und FTP.

Diffstat:
config/publish.ini.php | 60+++++++++++++++++++++++++++++++++++++++++++++++++++++++-----
1 file changed, 55 insertions(+), 5 deletions(-)

diff --git a/config/publish.ini.php b/config/publish.ini.php @@ -1,16 +1,66 @@ ; <?php exit('direct access denied') ?> - + +; Allow editing of file names. +; 'true' : Author is allowed to edit the file names of his files and pages. +; 'false': File names are generated by OpenRat only. edit=true -; filename for the first object in a folder. +; filename for the first object in a folder. +; Default is 'index'. default=index -; filename-mode. Only used, if edit=false or no filename is set for an object. +; Filename Mode. Only used, if edit=false or no filename is set for an object. ; 'ss' : nice hack for lamers which like storyserver urls like '0,1513,453556,00.html' ; 'id' : simply use the object id. ; 'longid': use a unique and long number. ; 'short' : use a unique name which is as short as possible. -style=id - +style="id" + + +; Mode of generated URLs. +; 'relative': (Default) Generates URLs like '../../path/to/example.html'. +; 'absolute': Generates URLs like '/path/to/example.html'. url=relative ;url=absolute + + +[project] +; Default publish directory. The edited target directory is appended. +publish_dir="/var/www/" + +; Allow paths in target directory +; 'false': only the base name is taken +; 'true' : user input is taken with full path +override_publish_dir=true + +; Default system command. +; Vars: {name} = project name, +; {dir} = Target directory, +; {dirbase} = Target directory basename +system_command="sudo -u xyz /usr/local/bin/mirror.sh {dirbase}" + +; Input overrides the default system command. +; 'true' or 'false' +override_system_command=true + + + +[ftp] +; 'true' : (Default) FTP is enabled +; 'false': FTP is disabled, f.e. if FTP is not compiled with PHP. +enable=true + +; Default FTP-Port +; Default: '21' +port=21 + +; Default ostname +;host="ftp.example.com" + +; Default path +;path="/path/to/site" + +; Login data +; If not specified (default), anonymous login will be used. +;user=agent_smith +;pass=smith