Skip to content

Commit

Permalink
Merge pull request #39 from UTCGilligan/develop
Browse files Browse the repository at this point in the history
UTCT-26: correct frontend ReCaptcha config.
  • Loading branch information
UTCGilligan authored Nov 14, 2023
2 parents 95ae54d + 11881a3 commit aa1549a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions frontend/config.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?php
<?php
// CONFIG - These control the look and details on your site. Consult documentation for more details.

// GENERAL

// Page title for your site
define('title', 'Sleeky theme for YOURLS');
define('title', 'Sleeky theme for YOURLS');

// The short title of your site, used in the footer and in some sub pages
define('shortTitle', 'Sleeky');

// A description of your site, shown on the homepage.
define('description', 'A quick description on why your site is so fantastic, what it does and why people should definitely start using it. Oh, and how it’s free.');
define('description', 'A quick description on why your site is so fantastic, what it does and why people should definitely start using it. Oh, and how it’s free.');

// The favicon for your site
define('favicon', '/frontend/assets/img/favicon.ico');
Expand All @@ -20,13 +20,13 @@

// Enable reCAPTCHA V3
// It is highly recommended you use reCAPTCHA V3. It will stop spam. You can get a site and secret key from here: https://www.google.com/recaptcha/admin/create
define("enableRecaptcha", false);
define("enableRecaptcha", true);

// reCAPTCHA V3 Site Key
define("recaptchaV3SiteKey", 'YOUR_SITE_KEY_HERE');
define("recaptchaV3SiteKey", '6LdAwAspAAAAAGVqSRmR1ngmCOVUg2v5pLzIFVc_');

// reCAPTCHA V3 Secret Key
define("recaptchaV3SecretKey", 'YOUR_SECRET_KEY_HERE');
//define("recaptchaV3SecretKey", 'moved to app config for secrecy');

// Enables the custom URL field
// true or false
Expand All @@ -36,7 +36,7 @@
// Set a primary colour to be used. Default: #007bff
// Here are some other colours you could try:
// #f44336: red, #9c27b0: purple, #00bcd4: teal, #ff5722: orange
define('colour', '#007bff');
define('colour', '#205493');

// Optional
// Set a background image to be used.
Expand All @@ -50,9 +50,9 @@
// The array follows a title link structure:
// "TITLE" => "LINK",
$footerLinks = [
"About" => "https://sleeky.flynntes.com/",
"Contact" => "https://yourls.org/",
"Legal" => "https://yourls.org/",
"About" => "https://github.com/utctiny",
"Contact" => "https://www.utc.edu/web",
// "Legal" => "https://yourls.org/",
"Admin" => "/admin/"
];

Expand Down

0 comments on commit aa1549a

Please sign in to comment.