move quickstart.php config to separate file

This commit is contained in:
Alexey Shpakovsky 2021-05-28 18:22:09 +02:00
parent c2c494ba45
commit d1001c7cf2
No known key found for this signature in database
GPG key ID: 5797A726A2A4230A
2 changed files with 2 additions and 12 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
quickconfig.php

View file

@ -4,19 +4,8 @@
// CONFIGURATION OF ACCOUNT DATA //
///////////////////////////////////////
// To run, configure the account data in this block and remove / comment out
// the following line with the exit statement
// DO NOT SERVE THIS SCRIPT VIA WEBSERVER
echo "Please configure first - exiting\n"; exit(1);
const DISCOVERY_URI = "example.com";
const USERNAME = "myUserName@example.com";
// Note: for providers using 2-factor authentication (common today, e.g. Apple iCloud,
// Google, Nextcloud if 2FA enabled by user), you need to provide an application-specific
// password here, not your account password. You can typically create such
// application-specific passwords in the account settings of your provider.
const PASSWORD = "theSecretPassword";
require 'quickconfig.php';
///////////////////////////////////////
// END CONFIGURATION OF ACCOUNT DATA //