# file: gsl.conf # Folder: /etc/gsl # By echolib # License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007 #======================================================================= # Folders #======================================================================= # Librairies gsl_dir_lib="/var/lib/gsl" gsl_dir_scripts="$gsl_dir_lib/scripts" gsl_dir_helps="$gsl_dir_lib/helps" # Management gsl_dir_db="$gsl_dir_lib/db" gsl_dir_global_domains="/var/lib/gsl/domains" # Logs gsl_dir_logs="/var/log/gsl" # User gsl_dir_user_domains="/home/$USER/.config/gsl/domains" #======================================================================= # Files #======================================================================= # Logs gsl_file_logs="$gsl_dir_logs/gsl.log" # Management gsl_file_db_domains="$gsl_dir_db/domains.db" gsl_file_db_posts="$gsl_dir_db/posts.db" gsl_file_db_stats="$gsl_dir_db/stats.db" # Registred Authors filename gsl_filename_auth="authors.db" #======================================================================= # GSL Internal Configuration #======================================================================= # Reserved 10 posts ID (Home, about...) gsl_post_min_ID=10 # minimum size to check a post gsl_post_min_size=800 # Init log datas gsl_log_a=' ~ ' gsl_log_e='Err' gsl_log_w='War' gsl_log_i='Inf' # Admin show gsl_admin_sep_post='===============' # Date format gsl_test_date='^[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]+$' # Logs gsl_log_act_title='POST TITLE' gsl_log_act_author='REGISTRED NAME' gsl_log_act_date='YYYY-MM-DD' gsl_log_act_info='POST is ABOUT...' gsl_log_act_slug='POST-TITLE' gsl_log_act_code='NBR : FILENAME' gsl_log_act_image='NBR : NAME : ALT TEXT' gsl_log_act_abbr='SHORT : LONG' gsl_log_act_h1='#1 POST CONTENT TITLE' gsl_log_act_link='NAME : URL : ALT TEXT' gsl_log_act_file='NAME : FILENAME : ALT TEXT' #----------------------------------------------------------------------- # Set CONTENT POTST markers #----------------------------------------------------------------------- gsl_mo_p='(' gsl_mo_link='\[_' gsl_mo_em='/_' gsl_mo_bold='\*_' gsl_mo_strong='\*\*_' gsl_mo_code='¤_' gsl_mo_file='<_' gsl_mc_p=')' gsl_mc_link='_\]' gsl_mc_em='_/' gsl_mc_bold='_\*' gsl_mc_strong='_\*\*' gsl_mc_code='_¤' gsl_mc_file='_>' gsl_mark_image='_image_' gsl_mark_code='_code_' gsl_mark_title='#' gsl_mark_hr='===' gsl_mark_list1='=> ' gsl_mark_list2='==> ' gsl_mark_list3='===> ' gsl_mark_blockquote='---' gsl_mark_blockquote_cite='_cite :' gsl_mark_blockquote_year='_year :' gsl_mark_blockquote_link='_link :' gsl_mark_blockquote_book='_book :' gsl_mark_blockquote_lang='_lang :' gsl_o_markers=( $gsl_mo_link $gsl_mo_em $gsl_mo_strong $gsl_mo_bold $gsl_mo_code $gsl_mo_file ) gsl_c_markers=( $gsl_mc_link $gsl_mc_em $gsl_mc_strong $gsl_mc_bold $gsl_mc_code $gsl_mc_file ) gsl_i_markers=( Link Italic Strong Bold Code File ) gsl_u_markers=( '[_ _]' '/_ _/' '**_ _**' '*_ _*' '¤_ _¤' '<_ _>' ) #----------------------------------------------------------------------- # Set HEADERS markers #----------------------------------------------------------------------- gsl_marker_ID=';; ID: ' gsl_marker_title=';; title: ' gsl_marker_slug=';; slug: ' gsl_marker_info=';; info: ' gsl_marker_author=';; author: ' gsl_marker_date=';; date: ' #Optional (include brut text) gsl_marker_code=';; code: ' gsl_marker_image=';; image: ' gsl_marker_abbr=';; abbr: ' gsl_marker_link=';; link: ' gsl_marker_file=';; file: '