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 |--------------------------------------------------------------------------
17 | Autoload Stylesheets
18 |--------------------------------------------------------------------------
20 | Sets the default CSSs that are 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 | Use "array()" for no default stylesheet.
29 $config['autoload_css'] = array('default.css',
33 |--------------------------------------------------------------------------
35 |--------------------------------------------------------------------------
37 | Sets the default Javascripts that are going to be automatically added in any
38 | HTML page generated with 'application/views/html_begin.php' view and
39 | HTML_head_params library.
41 | Do not include any path to the file! 'js/' is going to be used.
43 | Use "array()" for no default javascript.
46 $config['autoload_js'] = array('jquery.js',
48 'jquery.ui.nsinstall.js');
51 |--------------------------------------------------------------------------
52 | Default Video File Extension (OBSOLETE)
53 |--------------------------------------------------------------------------
55 | Sets the default video file extension, which must be set without '.' prefix.
56 | This extension is going to be added to the `name` field from the DB in
57 | order to deduce the video file name if not stated otherwise in the format.
64 $config['default_video_ext'] = 'ogv';
67 |--------------------------------------------------------------------------
68 | Default Torrent File Extension
69 |--------------------------------------------------------------------------
71 | Sets the default torrent file extension, which must be set without '.' prefix.
72 | This extension is going to be added to the video file name in order to deduce
73 | the torrent file name if not stated otherwise. Possible values:
79 $config['default_torrent_ext'] = 'tstream';
82 |--------------------------------------------------------------------------
84 |--------------------------------------------------------------------------
86 | An associative list with the video categories of the site. IDs are used
87 | in DB (for example in `videos` table), and values are string identifiers
88 | for categories. Category names localization can be made by concatenating
89 | 'ui_categ_' with the value in order to obtain a language key.
90 | IDs must be numeric and must preferably start from 1.
93 $config['categories'] = array(1 => 'movies', 2 => 'tech-talks', 3 => 'events', 4 => 'karaoke');
96 |--------------------------------------------------------------------------
98 |--------------------------------------------------------------------------
100 | The number of video icons shown per page (as in catalog/category).
103 $config['videos_per_page'] = 20;
106 |--------------------------------------------------------------------------
108 |--------------------------------------------------------------------------
110 | The number of video icons shown on a single line (as in home page).
113 $config['videos_per_row'] = 5;
116 |--------------------------------------------------------------------------
117 | Search Results per Page
118 |--------------------------------------------------------------------------
120 | The number of search results shown per page (as in catalog/search).
123 $config['search_results_per_page'] = 10;