[ Index ]

PHP Cross Reference of YOURLS

title

Body

[close]

/ -> sample-public-api.txt (source)

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


Generated: Mon Sep 16 05:10:05 2024 Cross-referenced by PHPXref 0.7.1