-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.php
31 lines (27 loc) · 2.46 KB
/
config.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
<?php
// ALL FIELDS ARE REQUIRED (except SQL, only if $useSQL is false)
// SQL
$useSQL = true; // If you want to use a SQL database to store user data (true / false)
$servername = "localhost"; // The IP / domain used to connect to your database
$username = "root"; // The database username
$password = ""; // The database password
$dbname = "users"; // The database name, by default, if you imported database.sql it is "users"
// COMMENT OUT THE PREVIOUS LINES AND UNCOMMENT THESE IF USING DOCKER
// $servername = "db";
// $username = "root";
// $password = "password";
// $dbname = "users";
// Invidious
$InvCServer = "https://invidious.perennialte.ch"; // The Invidious instance that will be used to fetch comments
$InvVIServer = "https://invidious.catspeed.cc"; // The Invidious instance that will be used to fetch video information
$InvTServer = "https://invidious.perennialte.ch"; // The Invidious instance that will be used to fetch trending videos for the home page
$InvSServer = "https://invidious.perennialte.ch"; // The Invidious instance that will be used to search for content
// Admin and Defaults
$defaultRegion = "GB"; // If the user is logged out or doesn't have a region set this will be the default, (put any 2 digit country code)
$defaultTheme = "ultra-dark"; // If the user is logged out or doesn't have a theme set this will be the default, (blue / ultra-dark)
$defaultLang = "en"; // If the user is logged out or doesn't have a language set this will be the default
$defaultLoadCommentsSetting = "nothing"; // If the user is logged out or doesn't have a comments loading preference set this will be the default (nothing / noreplies / showall)
$adminuser = "GoldDominik893"; // The user on liberatube you want to have access to the admin dashboard
$testinstance = true; // Whether this is a test instance. A disclaimer will be shown, (true / false)
$allowProxy = "false"; // Choose if the users can proxy video data through the server, (true / false / downloads)
$useReturnYTDislike = true; // Choose whether the server contacts the return youtube dislike api for an estimate of the dislikes, (true / false)