1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- <?php
- /**
- * Insipid
- * Personal web-bookmark-system
- *
- * Copyright 2016-2023 Johannes Keßler
- *
- * Development starting from 2011: Johannes Keßler
- * https://www.bananas-playground.net/projekt/insipid/
- *
- * creator:
- * Luke Reeves <luke@neuro-tech.net>
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0.
- *
- */
- # database config
- const DB_HOST = '127.0.0.1'; # Address of the database server
- const DB_USERNAME = 'user'; # Username to access the database server and database itself
- const DB_PASSWORD = 'test'; # Password for username
- const DB_NAME = 'insipid'; # Database name on your database server
- const DB_PREFIX = 'insipid'; # a _ is added automatically as separation
- # user config
- const FRONTEND_USERNAME = 'han';
- const FRONTEND_PASSWORD = 'solo';
- # absolute path of webroot
- const ABSOLUTE_PATH = '/path/to/insipid/webroot';
- const LOGFILE = ABSOLUTE_PATH.'/insipid.log';
- # relative to absolute path the name of the storage folder
- const LOCAL_STORAGE = 'localdata';
- # complete restricted access, not only the private links or the edit functions
- # username and password see above
- const USE_PAGE_AUTH = false;
- # results per page
- const RESULTS_PER_PAGE = 12;
- # language setting
- # default is eng
- # valid values to match the files are: https://de.wikipedia.org/wiki/ISO_639#ISO_639-3
- const FRONTEND_LANGUAGE = 'eng';
- # if the location of email-import.php needs to be in a web accessible folder
- # you can protect it by setting EMAIL_JOB_PROTECT to true
- # and EMAIL_JOB_PROTECT_SECRET to a special secret string
- # AND remove the default provided .htaccess file in the job folder
- const EMAIL_JOB_PROTECT = false; # Default false
- const EMAIL_JOB_PROTECT_SECRET = 'YOUR_SOME_SECRET_STRING'; # Your own secret string
- # settings for importing from e-mail
- # SSL/TLS only
- # IMAP (reading), SMTP (sending)
- const EMAIL_SERVER = '';
- const EMAIL_SERVER_USER = '';
- const EMAIL_SERVER_PASS = '';
- const EMAIL_SERVER_PORT_IMAP = 993;
- const EMAIL_SERVER_PORT_SMTP = 465;
- const EMAIL_SERVER_MAILBOX = 'INBOX'; # default INBOX
- const EMAIL_MARKER = 'to-insipid- ';
- const EMAIL_ARCHIVE_FOLDER = 'archive';
- const EMAIL_REPORT_BACK = false;
- const EMAIL_REPLY_BACK_VALID = '';
- const EMAIL_REPLY_BACK_ADDRESS = '';
- const EMAIL_REPLY_BACK_SUBJECT = 'Insipid email import response';
- # Use ... to create a whole page screenshot of a given link
- const COMPLETE_PAGE_SCREENSHOT = false;
- const COMPLETE_PAGE_SCREENSHOT_COMMAND = '/absolute/path/to/command';
- # debug
- const DEBUG = false;
- const QUERY_DEBUG = false;
|