forked from wallabag/wallabag
Compare commits
2 Commits
1.0-beta5.
...
1.0-beta5
| Author | SHA1 | Date | |
|---|---|---|---|
| 79026b73a8 | |||
| c51be6b697 |
@ -381,7 +381,6 @@ class Poche
|
|||||||
$tidy = tidy_parse_string($content, array('indent'=>true, 'show-body-only' => true), 'UTF8');
|
$tidy = tidy_parse_string($content, array('indent'=>true, 'show-body-only' => true), 'UTF8');
|
||||||
$tidy->cleanRepair();
|
$tidy->cleanRepair();
|
||||||
$content = $tidy->value;
|
$content = $tidy->value;
|
||||||
}
|
|
||||||
|
|
||||||
# flattr checking
|
# flattr checking
|
||||||
$flattr = new FlattrItem();
|
$flattr = new FlattrItem();
|
||||||
@ -393,6 +392,7 @@ class Poche
|
|||||||
'flattr' => $flattr
|
'flattr' => $flattr
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
Tools::logm('error in view call : entry is null');
|
Tools::logm('error in view call : entry is null');
|
||||||
}
|
}
|
||||||
|
|||||||
39
inc/poche/define.inc.php
Normal file
39
inc/poche/define.inc.php
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* poche, a read it later open source system
|
||||||
|
*
|
||||||
|
* @category poche
|
||||||
|
* @author Nicolas Lœuillet <support@inthepoche.com>
|
||||||
|
* @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);
|
||||||
|
define ('SHARE_SHAARLI', FALSE);
|
||||||
|
define ('SHAARLI_URL', 'http://myshaarliurl.com');
|
||||||
|
define ('FLATTR', TRUE);
|
||||||
|
define ('FLATTR_API', 'https://api.flattr.com/rest/v2/things/lookup/?url=');
|
||||||
|
define ('NOT_FLATTRABLE', '0');
|
||||||
|
define ('FLATTRABLE', '1');
|
||||||
|
define ('FLATTRED', '2');
|
||||||
|
define ('ABS_PATH', 'assets/');
|
||||||
|
define ('TPL', __DIR__ . '/../../tpl');
|
||||||
|
define ('LOCALE', __DIR__ . '/../../locale');
|
||||||
|
define ('CACHE', __DIR__ . '/../../cache');
|
||||||
|
define ('PAGINATION', '10');
|
||||||
|
define ('THEME', 'light');
|
||||||
|
|
||||||
|
define ('IMPORT_POCKET_FILE', './ril_export.html');
|
||||||
|
define ('IMPORT_READABILITY_FILE', './readability');
|
||||||
|
define ('IMPORT_INSTAPAPER_FILE', './instapaper-export.html');
|
||||||
Reference in New Issue
Block a user