move quickstart.php config to separate file
This commit is contained in:
parent
c2c494ba45
commit
d1001c7cf2
2 changed files with 2 additions and 12 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
quickconfig.php
|
|
@ -4,19 +4,8 @@
|
||||||
// CONFIGURATION OF ACCOUNT DATA //
|
// 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
|
// DO NOT SERVE THIS SCRIPT VIA WEBSERVER
|
||||||
echo "Please configure first - exiting\n"; exit(1);
|
require 'quickconfig.php';
|
||||||
|
|
||||||
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";
|
|
||||||
|
|
||||||
///////////////////////////////////////
|
///////////////////////////////////////
|
||||||
// END CONFIGURATION OF ACCOUNT DATA //
|
// END CONFIGURATION OF ACCOUNT DATA //
|
||||||
|
|
Loading…
Reference in a new issue