blob: c3e19740f09e100c995ffa20331b6bed06b62740 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<?php
/*
* This file shows how to implement a public API (no login or username needed) for your setup
* even if your install is private (no public access to admin area)
*
* Rename this file like "api.php" and put it in the same directory as yourls-api.php
*
*/
define('YOURLS_PRIVATE', false);
require_once( dirname(__FILE__).'/yourls-api.php' );
|