Add basepath to vagrant config file
authorPhilipp Holzer <admin@philipp.info>
Sun, 14 Apr 2019 11:54:36 +0000 (13:54 +0200)
committerPhilipp Holzer <admin@philipp.info>
Sun, 14 Apr 2019 12:24:01 +0000 (14:24 +0200)
mods/local.config.vagrant.php

index a9b95d0..c35b1a3 100644 (file)
@@ -1,41 +1,42 @@
-<?php\r
-\r
-// Local configuration\r
-\r
-/* If automatic system installation fails:\r
- *\r
- * Copy this file to local.config.php\r
- *\r
- * Why local.config.php? Because it contains sensitive information which could\r
- * give somebody complete control of your database. Apache's default\r
- * configuration will interpret any .php file as a script and won't show the values\r
- *\r
- * Then set the following for your MySQL installation\r
- */\r
-\r
-return [\r
-       'database' => [\r
-               'hostname' => 'localhost',\r
-               'username' => 'friendica',\r
-               'password' => 'friendica',\r
-               'database' => 'friendica',\r
-               'charset' => 'utf8mb4',\r
-       ],\r
-\r
-       // ****************************************************************\r
-       // The configuration below will be overruled by the admin panel.\r
-       // Changes made below will only have an effect if the database does\r
-       // not contain any configuration for the friendica system.\r
-       // ****************************************************************\r
-\r
-       'config' => [\r
-               'admin_email' => 'admin@friendica.local',\r
-               'sitename' => 'Friendica Social Network',\r
-               'register_policy' => \Friendica\Module\Register::OPEN,\r
-               'register_text' => '',\r
-       ],\r
-       'system' => [\r
-               'default_timezone' => 'UTC',\r
-               'language' => 'en',\r
-       ],\r
-];\r
+<?php
+
+// Local configuration
+
+/* If automatic system installation fails:
+ *
+ * Copy this file to local.config.php
+ *
+ * Why local.config.php? Because it contains sensitive information which could
+ * give somebody complete control of your database. Apache's default
+ * configuration will interpret any .php file as a script and won't show the values
+ *
+ * Then set the following for your MySQL installation
+ */
+
+return [
+       'database' => [
+               'hostname' => 'localhost',
+               'username' => 'friendica',
+               'password' => 'friendica',
+               'database' => 'friendica',
+               'charset' => 'utf8mb4',
+       ],
+
+       // ****************************************************************
+       // The configuration below will be overruled by the admin panel.
+       // Changes made below will only have an effect if the database does
+       // not contain any configuration for the friendica system.
+       // ****************************************************************
+
+       'config' => [
+               'admin_email' => 'admin@friendica.local',
+               'sitename' => 'Friendica Social Network',
+               'register_policy' => \Friendica\Module\Register::OPEN,
+               'register_text' => '',
+       ],
+       'system' => [
+               'default_timezone' => 'UTC',
+               'language' => 'en',
+               'basepath' => '/vagrant',
+       ],
+];