1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yourls_ynh.git synced 2024-09-03 20:35:59 +02:00
yourls_ynh/sources/sample-public-api.txt
2014-06-13 07:30:00 +02:00

13 lines
No EOL
356 B
Text

<?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' );