1 <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
3 // P2P-Tube specific configuration file
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(
101 |--------------------------------------------------------------------------
103 |--------------------------------------------------------------------------
105 | The number of video icons shown per page (as in catalog/category).
108 $config['videos_per_page'] = 20;
111 |--------------------------------------------------------------------------
113 |--------------------------------------------------------------------------
115 | The number of video icons shown on a single line (as in home page).
118 $config['videos_per_row'] = 5;
121 |--------------------------------------------------------------------------
122 | Search Results per Page
123 |--------------------------------------------------------------------------
125 | The number of search results shown per page (as in catalog/search).
128 $config['search_results_per_page'] = 20;
131 |--------------------------------------------------------------------------
132 | Video Comments per Page
133 |--------------------------------------------------------------------------
135 | The number of video comments shown per page (as in video/watch).
138 $config['video_comments_per_page'] = 20;
141 |--------------------------------------------------------------------------
142 | A list with all available languages in which the site is translated
143 |--------------------------------------------------------------------------
145 | Keys are language codes and values are language names as they appear in
149 $config['available_languages_list'] = array(
155 |--------------------------------------------------------------------------
156 | No-Reply E-mail address
157 |--------------------------------------------------------------------------
159 | The e-mail address from which the users receive e-mail notifications
160 | like account activation e-mail or password recovery.
163 $config['noreply_email'] = 'no-reply@p2p-next.cs.pub.ro';
166 |--------------------------------------------------------------------------
168 |--------------------------------------------------------------------------
170 | Set whether or not a new uploaded video must be aproved by an
174 $config['require_moderation'] = TRUE;