Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/YOURLS/YOURLS.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorozh <ozh@ozh.org>2015-04-10 23:46:06 +0300
committerozh <ozh@ozh.org>2015-04-10 23:46:06 +0300
commit7225f8dff1384fe610e7e57b69a1c2036af45c2f (patch)
treef8da03affb3f604b64a5c2d92ec2a24cf830bc54 /yourls-loader.php
parentabc7d6c52f6e0ddb8d930d3022f75b46617ee0d8 (diff)
Smarter domain convention in examples and source
In config, readmes, editable files: the generic YOURLS install will be http://your-own-domain-here.com/ so that noob users get an obvious warning when they misconfigure something In source comments, presumably read by hackers who have a clue, the generic YOURLS install will be http://sho.rt/. The generic long URL can be http://example.com/something-whatever Closes #1841
Diffstat (limited to 'yourls-loader.php')
-rw-r--r--yourls-loader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/yourls-loader.php b/yourls-loader.php
index 1e588d51..e9ade9d5 100644
--- a/yourls-loader.php
+++ b/yourls-loader.php
@@ -17,7 +17,7 @@ if ( '/robots.txt' == $_SERVER['REQUEST_URI'] ) {
// Start YOURLS
require_once( dirname( __FILE__ ) . '/includes/load-yourls.php' );
-// Get request in YOURLS base (eg in 'http://site.com/yourls/abcd' get 'abdc')
+// Get request in YOURLS base (eg in 'http://sho.rt/yourls/abcd' get 'abdc')
$request = yourls_get_request();
// Make valid regexp pattern from authorized charset in keywords