Kaynağa Gözat

ok see you in a month kek

lolcat 2 yıl önce
ebeveyn
işleme
80be23f7df
2 değiştirilmiş dosya ile 19 ekleme ve 5 silme
  1. 11 5
      data/config.php
  2. 8 0
      settings.php

+ 11 - 5
data/config.php

@@ -31,14 +31,18 @@ class config{
 	// @TODO: 2 = invite only (users needs a pass)
 	// @TODO: 2 = invite only (users needs a pass)
 	const BOT_PROTECTION = 0;
 	const BOT_PROTECTION = 0;
 	
 	
+	// Maximal number of searches per captcha key/pass issued. Counter gets
+	// reset on every APCU cache clear (should happen once a day)
+	const MAX_SEARCHES = 100;
+	
 	// if BOT_PROTECTION is set to 1, specify the available datasets here
 	// if BOT_PROTECTION is set to 1, specify the available datasets here
 	// images should be named from 1.png to X.png, and be 100x100 in size
 	// images should be named from 1.png to X.png, and be 100x100 in size
 	// Eg. data/captcha/birds/1.png up to 2263.png
 	// Eg. data/captcha/birds/1.png up to 2263.png
 	const CAPTCHA_DATASET = [
 	const CAPTCHA_DATASET = [
 		// example:
 		// example:
-		// ["birds", 2263],
-		// ["fumo_plushies", 1006],
-		// ["minecraft", 848]
+		//["birds", 2263],
+		//["fumo_plushies", 1006],
+		//["minecraft", 848]
 	];
 	];
 	
 	
 	// List of domains that point to your servers. Include your tor/i2p
 	// List of domains that point to your servers. Include your tor/i2p
@@ -84,7 +88,9 @@ class config{
 	const PROXY_MARGINALIA = false;
 	const PROXY_MARGINALIA = false;
 	const PROXY_MOJEEK = false;
 	const PROXY_MOJEEK = false;
 	const PROXY_SC = false; // soundcloud
 	const PROXY_SC = false; // soundcloud
+	const PROXY_SPOTIFY = false;
 	const PROXY_WIBY = false;
 	const PROXY_WIBY = false;
+	const PROXY_CURLIE = false;
 	const PROXY_YT = false; // youtube
 	const PROXY_YT = false; // youtube
 	const PROXY_YEP = false;
 	const PROXY_YEP = false;
 	const PROXY_PINTEREST = false;
 	const PROXY_PINTEREST = false;
@@ -101,8 +107,8 @@ class config{
 	// SOUNDCLOUD
 	// SOUNDCLOUD
 	// Get these parameters by making a search on soundcloud with network
 	// Get these parameters by making a search on soundcloud with network
 	// tab open, then filter URLs using "search?q=". (No need to login)
 	// tab open, then filter URLs using "search?q=". (No need to login)
-	const SC_USER_ID = "143860-454480-469473-289775";
-	const SC_CLIENT_TOKEN = "qwfvRfz8PCoa2NldZALK7hhZFIH24Wyx";
+	const SC_USER_ID = "119817-879192-49172-644216";
+	const SC_CLIENT_TOKEN = "Hd4akujkPoaPv8SOUw6sqAySNno8EM7b";
 	
 	
 	// MARGINALIA
 	// MARGINALIA
 	// Get an API key by contacting the Marginalia.nu maintainer. The "public" key
 	// Get an API key by contacting the Marginalia.nu maintainer. The "public" key

+ 8 - 0
settings.php

@@ -136,6 +136,10 @@ $settings = [
 					[
 					[
 						"value" => "wiby",
 						"value" => "wiby",
 						"text" => "wiby"
 						"text" => "wiby"
+					],
+					[
+						"value" => "curlie",
+						"text" => "Curlie"
 					]
 					]
 				]
 				]
 			],
 			],
@@ -236,6 +240,10 @@ $settings = [
 					[
 					[
 						"value" => "sc",
 						"value" => "sc",
 						"text" => "SoundCloud"
 						"text" => "SoundCloud"
+					],
+					[
+						"value" => "spotify",
+						"text" => "Spotify"
 					]
 					]
 				]
 				]
 			]
 			]