1 <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
3 // P2P-Tube specific configuration files
6 |--------------------------------------------------------------------------
8 |--------------------------------------------------------------------------
10 | Sets the name of the site. It can be used for example in pages title.
13 $config['site_name'] = 'P2P-Next UPB LivingLab';
16 |--------------------------------------------------------------------------
18 |--------------------------------------------------------------------------
20 | Sets the default CSS that is going to be automatically added on any HTML
21 | page generated with 'application/views/html_begin.php' view and
22 | HTML_head_params library.
24 | Do not include any path to the file! 'css/' is going to be used.
26 | Leave blank for no default stylesheet.
29 $config['default_css'] = 'default.css';
32 |--------------------------------------------------------------------------
34 |--------------------------------------------------------------------------
36 | Sets the default Javascript that is going to be automatically added in any
37 | HTML page generated with 'application/views/html_begin.php' view and
38 | HTML_head_params library.
40 | Do not include any path to the file! 'js/' is going to be used.
42 | Leave blank for no default javascript.
45 $config['default_js'] = '';
48 |--------------------------------------------------------------------------
49 | Default Video File Extension (OBSOLETE)
50 |--------------------------------------------------------------------------
52 | Sets the default video file extension, which must be set without '.' prefix.
53 | This extension is going to be added to the `name` field from the DB in
54 | order to deduce the video file name if not stated otherwise in the format.
61 $config['default_video_ext'] = 'ogv';
64 |--------------------------------------------------------------------------
65 | Default Torrent File Extension
66 |--------------------------------------------------------------------------
68 | Sets the default torrent file extension, which must be set without '.' prefix.
69 | This extension is going to be added to the video file name in order to deduce
70 | the torrent file name if not stated otherwise. Possible values:
76 $config['default_torrent_ext'] = 'tstream';
79 |--------------------------------------------------------------------------
81 |--------------------------------------------------------------------------
83 | An associative list with the video categories of the site. IDs are used
84 | in DB (for example in `videos` table), and values are string identifiers
85 | for categories. Category names localization can be made by concatenating
86 | 'ui_categ_' with the value in order to obtain a language key.
87 | IDs must be numeric and must preferably start from 1.
90 $config['categories'] = array(1 => 'movies', 2 => 'tech_talks', 3 => 'events', 4 => 'karaoke');
93 |--------------------------------------------------------------------------
95 |--------------------------------------------------------------------------
97 | The number of video icons shown per page (as in catalog/category).
100 $config['videos_per_page'] = 16;
103 |--------------------------------------------------------------------------
105 |--------------------------------------------------------------------------
107 | The number of video icons shown on a single line (as in home page).
110 $config['videos_per_row'] = 4;