Browse Source

Add basepath to vagrant config file

tags/2019.06^2
Philipp Holzer 3 months ago
parent
commit
d579d9e1d0
No account linked to committer's email address
1 changed files with 42 additions and 41 deletions
  1. 42
    41
      mods/local.config.vagrant.php

+ 42
- 41
mods/local.config.vagrant.php View File

@@ -1,41 +1,42 @@
1
-<?php
2
-
3
-// Local configuration
4
-
5
-/* If automatic system installation fails:
6
- *
7
- * Copy this file to local.config.php
8
- *
9
- * Why local.config.php? Because it contains sensitive information which could
10
- * give somebody complete control of your database. Apache's default
11
- * configuration will interpret any .php file as a script and won't show the values
12
- *
13
- * Then set the following for your MySQL installation
14
- */
15
-
16
-return [
17
-	'database' => [
18
-		'hostname' => 'localhost',
19
-		'username' => 'friendica',
20
-		'password' => 'friendica',
21
-		'database' => 'friendica',
22
-		'charset' => 'utf8mb4',
23
-	],
24
-
25
-	// ****************************************************************
26
-	// The configuration below will be overruled by the admin panel.
27
-	// Changes made below will only have an effect if the database does
28
-	// not contain any configuration for the friendica system.
29
-	// ****************************************************************
30
-
31
-	'config' => [
32
-		'admin_email' => 'admin@friendica.local',
33
-		'sitename' => 'Friendica Social Network',
34
-		'register_policy' => \Friendica\Module\Register::OPEN,
35
-		'register_text' => '',
36
-	],
37
-	'system' => [
38
-		'default_timezone' => 'UTC',
39
-		'language' => 'en',
40
-	],
41
-];
1
+<?php
2
+
3
+// Local configuration
4
+
5
+/* If automatic system installation fails:
6
+ *
7
+ * Copy this file to local.config.php
8
+ *
9
+ * Why local.config.php? Because it contains sensitive information which could
10
+ * give somebody complete control of your database. Apache's default
11
+ * configuration will interpret any .php file as a script and won't show the values
12
+ *
13
+ * Then set the following for your MySQL installation
14
+ */
15
+
16
+return [
17
+	'database' => [
18
+		'hostname' => 'localhost',
19
+		'username' => 'friendica',
20
+		'password' => 'friendica',
21
+		'database' => 'friendica',
22
+		'charset' => 'utf8mb4',
23
+	],
24
+
25
+	// ****************************************************************
26
+	// The configuration below will be overruled by the admin panel.
27
+	// Changes made below will only have an effect if the database does
28
+	// not contain any configuration for the friendica system.
29
+	// ****************************************************************
30
+
31
+	'config' => [
32
+		'admin_email' => 'admin@friendica.local',
33
+		'sitename' => 'Friendica Social Network',
34
+		'register_policy' => \Friendica\Module\Register::OPEN,
35
+		'register_text' => '',
36
+	],
37
+	'system' => [
38
+		'default_timezone' => 'UTC',
39
+		'language' => 'en',
40
+		'basepath' => '/vagrant',
41
+	],
42
+];

Loading…
Cancel
Save