2013-08-16 18:19:31 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* poche, a read it later open source system
|
|
|
|
*
|
|
|
|
* @category poche
|
2013-09-10 13:43:01 +00:00
|
|
|
* @author Nicolas Lœuillet <support@inthepoche.com>
|
2013-08-16 18:19:31 +00:00
|
|
|
* @copyright 2013
|
|
|
|
* @license http://www.wtfpl.net/ see COPYING file
|
|
|
|
*/
|
|
|
|
|
|
|
|
define ('STORAGE','sqlite'); # postgres, mysql, sqlite
|
|
|
|
define ('STORAGE_SERVER', 'localhost'); # leave blank for sqlite
|
|
|
|
define ('STORAGE_DB', 'poche'); # only for postgres & mysql
|
|
|
|
define ('STORAGE_SQLITE', __DIR__ . '/../../db/poche.sqlite');
|
|
|
|
define ('STORAGE_USER', 'postgres'); # leave blank for sqlite
|
|
|
|
define ('STORAGE_PASSWORD', 'postgres'); # leave blank for sqlite
|
|
|
|
|
|
|
|
define ('MODE_DEMO', FALSE);
|
|
|
|
define ('DEBUG_POCHE', FALSE);
|
|
|
|
define ('DOWNLOAD_PICTURES', FALSE);
|
|
|
|
define ('SHARE_TWITTER', TRUE);
|
|
|
|
define ('SHARE_MAIL', TRUE);
|
2013-08-23 17:49:17 +00:00
|
|
|
define ('SHARE_SHAARLI', FALSE);
|
2013-08-20 09:23:32 +00:00
|
|
|
define ('SHAARLI_URL', 'http://myshaarliurl.com');
|
2013-09-10 16:23:56 +00:00
|
|
|
define ('FLATTR', TRUE);
|
2013-09-10 17:22:47 +00:00
|
|
|
define ('FLATTR_API', 'https://api.flattr.com/rest/v2/things/lookup/?url=');
|
|
|
|
define ('NOT_FLATTRABLE', '0');
|
|
|
|
define ('FLATTRABLE', '1');
|
|
|
|
define ('FLATTRED', '2');
|
2013-08-16 18:19:31 +00:00
|
|
|
define ('ABS_PATH', 'assets/');
|
|
|
|
define ('TPL', __DIR__ . '/../../tpl');
|
|
|
|
define ('LOCALE', __DIR__ . '/../../locale');
|
|
|
|
define ('CACHE', __DIR__ . '/../../cache');
|
|
|
|
define ('PAGINATION', '10');
|
2013-08-24 13:59:51 +00:00
|
|
|
define ('THEME', 'light');
|
|
|
|
|
|
|
|
define ('IMPORT_POCKET_FILE', './ril_export.html');
|
|
|
|
define ('IMPORT_READABILITY_FILE', './readability');
|
|
|
|
define ('IMPORT_INSTAPAPER_FILE', './instapaper-export.html');
|