Files
infinity-squared/public/config-sample.php

56 lines
1.4 KiB
PHP
Raw Normal View History

<?php
2015-03-02 19:24:58 +00:00
// Copy and rename your file to config.php in the /public/ directory to edit your settings
// 0, FALSE or '' to disable
// Pretty much everything else to enable, such as 1, TRUE or any string
2015-03-02 19:24:58 +00:00
// GENERAL SETTINGS
ISQ::$general = array(
'name' => 'URL shortener', // The name of your URL shortener
2015-03-02 19:24:58 +00:00
'qr' => TRUE, // Do you want to display a QR code?
'customstyle' => TRUE // Do you want to enable the custom stylesheet, found in public/custom.css?
);
2015-03-02 19:24:58 +00:00
// MENU LINKS
2015-03-02 19:19:06 +00:00
// Add more comma seperated arrays to add more links
ISQ::$links = array(
2015-03-02 19:19:06 +00:00
array(
'name' => ISQ::$general['name'],
'link' => YOURLS_SITE
),
array(
'name' => 'Tom Slominski',
'link' => 'http://tomslominski.net/'
),
array(
2016-07-24 17:41:43 +01:00
'name' => yourls__( 'Get ∞²!', 'isq_translation' ),
2015-03-02 19:19:06 +00:00
'link' => 'https://github.com/tomslominski/infinity-squared/'
2016-07-24 17:41:43 +01:00
),
array(
'name' => yourls__( 'Admin area', 'isq_translation' ),
'link' => YOURLS_SITE . '/admin/'
2015-03-02 19:19:06 +00:00
)
);
2015-03-02 19:24:58 +00:00
// SOCIAL SHARING
ISQ::$social = array(
2015-03-02 19:24:58 +00:00
'twitter' => TRUE,
2015-03-08 00:48:16 +00:00
'appdotnet' => TRUE,
'facebook' => TRUE,
2015-03-02 19:24:58 +00:00
'linkedin' => TRUE,
2015-03-08 00:48:16 +00:00
'tumblr' => TRUE,
2016-07-17 23:52:43 +03:00
'googleplus' => TRUE,
'vk' => TRUE,
);
2013-11-02 18:19:38 +00:00
2015-03-02 19:24:58 +00:00
// reCAPTCHA API KEYS
2013-11-02 18:19:38 +00:00
// Get yourls from https://www.google.com/recaptcha/admin
// If you don't want to use reCAPTCHA, that's cool. Leave this empty, and basic
// antispam protection will be provided.
2013-11-02 18:19:38 +00:00
ISQ::$recaptcha = array(
'sitekey' => '',
'secret' => ''
2013-11-02 18:19:38 +00:00
);
2015-03-02 19:29:52 +00:00
?>