]> git.mxchange.org Git - friendica.git/blobdiff - config/local-sample.config.php
Merge pull request #12225 from MrPetovan/bug/10188-addon-config
[friendica.git] / config / local-sample.config.php
index c9ca85aeec58aeba4d089da74174c6ecf3d4c4dd..9bf073df1d99dffc03198d23589f33baf4fd262d 100644 (file)
@@ -1,44 +1,44 @@
-<?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
- * If you're unsure about what any of the config keys below do, please check the config/defaults.config.php file for\r
- * detailed documentation of their data type and behavior.\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' => '',\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
+<?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
+ *
+ * If you're unsure about what any of the config keys below do, please check the static/defaults.config.php file for
+ * detailed documentation of their data type and behavior.
+ */
+
+return [
+       'database' => [
+               'hostname' => 'localhost',
+               'username' => 'mysqlusername',
+               'password' => 'mysqlpassword',
+               'database' => 'mysqldatabasename',
+               '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' => '',
+               'sitename' => 'Friendica Social Network',
+               'register_policy' => \Friendica\Module\Register::OPEN,
+               'register_text' => '',
+       ],
+       'system' => [
+               'default_timezone' => 'UTC',
+               'language' => 'en',
+       ],
+];