-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsettings.php
75 lines (64 loc) · 1.98 KB
/
settings.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?php
// Settings
$defaultLang = "fi";
/*
function nojs() {
// TODO: All should work without JS. If JS, then drag-drop replace etc.
// Detect only no-js browsers. Other browsers get js.
//https://developer.mozilla.org/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent
$browser_nojs = array('NetSurf', 'AWeb', 'Amiga', 'Links', 'w3m', 'MSIE');
$string = $_SERVER['HTTP_USER_AGENT'];
$nocount = 0;
foreach ($browser_nojs as $browser) {
if (strpos($string, $browser) !== FALSE) { // Yoshi version
$nocount = $nocount + 1;
//return true;
}
}
if ($nocount > 0) {
echo "Nojs browser";
} else {
echo "JS browser";
}
//echo "Not found!";
//return false;
}
echo '<html><head><title>Wekan</title></head><body><h1>';
echo $_SERVER['HTTP_USER_AGENT'];
echo '<br><br>';
nojs();
echo '</body></html>';
die();
*/
$debug = false;
$subUrl = "wekan";
$pagepath = "../page/";
$sqlitepath = "../wekan.db";
// Settings: HTML head icons.
$shortcutIcon = "favicon.ico";
$appleTouchIcon180x180 = "apple-touch-icon.png";
$favicon32x32 = "favicon-32x32.png";
$favicon16x16 = "favicon-16x16.png";
$manifest = "site.webmanifest";
$maskIcon = "safari-pinned-tab.svg";
$maskIconColor = "5bbad5";
$msapplicationTileColor = "00aba9";
$themeColor = "fff";
// Admin Panel / Settings / Layout
$productName = "WeKan ®";
$pageTitle = "";
$font = "Arial, Helvetica, sans-serif"; // Wekan font
$bgColor = "dfdfdf"; // Wekan background color
$displayAuthenticationMethod = true;
$authenticationMethod = "password"; // password, LDAP, OAuth2
$hideLogo = false;
$loginLogoImageUrl = "StoreLogo.scale-100.jpg";
$loginLogoImageHeight = "50";
$loginLogoImageWidth = "50";
$topLeftCornerLogoImageUrl = "logo-header.png";
$topLeftCornerLogoLinkUrl = "";
$textBelowCustomLoginLogo = "";
$topLeftCornerLogoHeight = "27";
$topLeftCornerLogoWidth = "auto";
$customUrlSchemes = ""; // should be automatically clickable. One URL Scheme per line.
?>