forked from wallabag/wallabag
Compare commits
3 Commits
1.0-beta5
...
1.0-beta5.
| Author | SHA1 | Date | |
|---|---|---|---|
| 88e1108f11 | |||
| 3408ed48ba | |||
| b8c67f8068 |
@ -381,17 +381,17 @@ 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 = new FlattrItem();
|
|
||||||
$flattr->checkItem($entry['url']);
|
|
||||||
|
|
||||||
$tpl_vars = array(
|
|
||||||
'entry' => $entry,
|
|
||||||
'content' => $content,
|
|
||||||
'flattr' => $flattr
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# flattr checking
|
||||||
|
$flattr = new FlattrItem();
|
||||||
|
$flattr->checkItem($entry['url']);
|
||||||
|
|
||||||
|
$tpl_vars = array(
|
||||||
|
'entry' => $entry,
|
||||||
|
'content' => $content,
|
||||||
|
'flattr' => $flattr
|
||||||
|
);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Tools::logm('error in view call : entry is null');
|
Tools::logm('error in view call : entry is null');
|
||||||
|
|||||||
@ -1,39 +0,0 @@
|
|||||||
<?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');
|
|
||||||
2
themes
2
themes
Submodule themes updated: 689dcedf8d...c6406013d5
Reference in New Issue
Block a user