]> git.mxchange.org Git - friendica.git/blobdiff - util/local.config.vagrant.php
Update install to generate config/local.config.php
[friendica.git] / util / local.config.vagrant.php
diff --git a/util/local.config.vagrant.php b/util/local.config.vagrant.php
new file mode 100644 (file)
index 0000000..fcac663
--- /dev/null
@@ -0,0 +1,41 @@
+<?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' => 'mysqlusername',\r
+               'password' => 'mysqlpassword',\r
+               'database' => 'mysqldatabasename',\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' => 'REGISTER_OPEN',\r
+               'register_text' => '',\r
+       ],\r
+       'system' => [\r
+               'default_timezone' => 'UTC',\r
+               'language' => 'en',\r
+       ],\r
+];\r