forked from Piwigo/piwigo-bootstrap-darkroom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththemeconf.inc.php
33 lines (28 loc) · 1.12 KB
/
themeconf.inc.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
/*
Theme Name: Bootstrap Darkroom
Version: 2.4.4
Description: A mobile-ready & feature-rich theme based on Boostrap 4, with PhotoSwipe full-screen slideshow, Slick carousel, over 30 color styles and lots of configuration options
Theme URI: http://piwigo.org/ext/extension_view.php?eid=831
Author: Thomas Kuther
Author URI: https://github.com/tkuther/piwigo-bootstrap-darkroom
*/
require_once(PHPWG_THEMES_PATH . 'bootstrap_darkroom/include/themecontroller.php');
require_once(PHPWG_THEMES_PATH . 'bootstrap_darkroom/include/config.php');
$themeconf = array(
'name' => 'bootstrap_darkroom',
'parent' => 'default',
'load_parent_css' => false,
'load_parent_local_head' => true,
'local_head' => 'local_head.tpl',
'url' => 'https://kuther.net/'
);
//debug
//$conf['template_combine_files'] = false;
// always show metadata initially
pwg_set_session_var('show_metadata', true);
// register video files
$video_ext = array('mp4','m4v');
$conf['file_ext'] = array_merge ($conf['file_ext'], $video_ext, array_map('strtoupper', $video_ext));
$controller = new \BootstrapDarkroom\ThemeController();
$controller->init();