Project

General

Profile

« Previous | Next » 

Revision 7940

web/vegpath/index.php: Updated $alias to the newly-registered path.vg domain, which is shorter and more intuitive-looking than the previous value j.mp/vegpath (from bitly.com). Note that using a domain also allows redirects without JavaScript, which can be used by any web client (such as a Python script), not just a web browser.

View differences:

web/vegpath/index.php
2 2
require_once dirname(__FILE__)."/util.php";
3 3

  
4 4
# config
5
$alias = "j.mp/vegpath#";
5
$alias = "path.vg/";
6 6

  
7 7
function by_prefix($url, $main_url=null)
8 8
{

Also available in: Unified diff