1
0
mirror of https://github.com/kremalicious/krtmn.git synced 2024-12-22 17:23:33 +01:00
krtmn/sample-public-api.php.txt

10 lines
352 B
Plaintext
Raw Normal View History

2012-02-26 03:28:54 +01:00
<?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' );