parent
3386115b7b
commit
3ee1805ae3
|
@ -1,4 +1,5 @@
|
||||||
# TinyIB [![Donate](http://img.shields.io/liberapay/receives/rocketnine.space.svg?logo=liberapay)](https://liberapay.com/rocketnine.space)
|
# TinyIB
|
||||||
|
[![Donate](https://img.shields.io/liberapay/receives/rocketnine.space.svg?logo=liberapay)](https://liberapay.com/rocketnine.space)
|
||||||
|
|
||||||
A lightweight and efficient [image board](https://en.wikipedia.org/wiki/Imageboard). See [TinyIB Installations](https://gitlab.com/tslocum/tinyib/wikis/Home) for demos.
|
A lightweight and efficient [image board](https://en.wikipedia.org/wiki/Imageboard). See [TinyIB Installations](https://gitlab.com/tslocum/tinyib/wikis/Home) for demos.
|
||||||
|
|
||||||
|
|
|
@ -80,8 +80,8 @@ if (!isset($tinyib_uploads)) {
|
||||||
if (!isset($tinyib_embeds)) {
|
if (!isset($tinyib_embeds)) {
|
||||||
$tinyib_embeds = array();
|
$tinyib_embeds = array();
|
||||||
if (defined('TINYIB_EMBED') && TINYIB_EMBED) {
|
if (defined('TINYIB_EMBED') && TINYIB_EMBED) {
|
||||||
$tinyib_embeds['SoundCloud'] = 'http://soundcloud.com/oembed?format=json&url=TINYIBEMBED';
|
$tinyib_embeds['SoundCloud'] = 'https://soundcloud.com/oembed?format=json&url=TINYIBEMBED';
|
||||||
$tinyib_embeds['Vimeo'] = 'http://vimeo.com/api/oembed.json?url=TINYIBEMBED';
|
$tinyib_embeds['Vimeo'] = 'https://vimeo.com/api/oembed.json?url=TINYIBEMBED';
|
||||||
$tinyib_embeds['YouTube'] = 'http://www.youtube.com/oembed?url=TINYIBEMBED&format=json';
|
$tinyib_embeds['YouTube'] = 'https://www.youtube.com/oembed?url=TINYIBEMBED&format=json';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,9 +48,9 @@ $tinyib_uploads = array('image/jpeg' => array('jpg'),
|
||||||
|
|
||||||
// oEmbed APIs
|
// oEmbed APIs
|
||||||
// Empty array to disable
|
// Empty array to disable
|
||||||
$tinyib_embeds = array('SoundCloud' => 'http://soundcloud.com/oembed?format=json&url=TINYIBEMBED',
|
$tinyib_embeds = array('SoundCloud' => 'https://soundcloud.com/oembed?format=json&url=TINYIBEMBED',
|
||||||
'Vimeo' => 'http://vimeo.com/api/oembed.json?url=TINYIBEMBED',
|
'Vimeo' => 'https://vimeo.com/api/oembed.json?url=TINYIBEMBED',
|
||||||
'YouTube' => 'http://www.youtube.com/oembed?url=TINYIBEMBED&format=json');
|
'YouTube' => 'https://www.youtube.com/oembed?url=TINYIBEMBED&format=json');
|
||||||
|
|
||||||
// File control
|
// File control
|
||||||
define('TINYIB_MAXKB', 2048); // Maximum file size in kilobytes [0 to disable]
|
define('TINYIB_MAXKB', 2048); // Maximum file size in kilobytes [0 to disable]
|
||||||
|
|
Loading…
Reference in New Issue