PHP Classes

File: config/polr.php

Recommend this page to a friend!
  Classes of Thierry Feuzeu   Polr Admin Dashboard   config/polr.php   Download  
File: config/polr.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Polr Admin Dashboard
Another admin dashboard for the Polr URL shortener
Author: By
Last change:
Date: 7 years ago
Size: 1,436 bytes
 

Contents

Class file image Download
<?php

return [

   
/*
    |--------------------------------------------------------------------------
    | Default Polr Instance
    |--------------------------------------------------------------------------
    |
    | Here you may specify which of the Polr endpoints below you wish
    | to use as your default instance.
    |
    */

   
'default' => 'first',

   
/*
    |--------------------------------------------------------------------------
    | Polr Instances
    |--------------------------------------------------------------------------
    |
    | Here are each of the Polr Instances to be controlled from this dashboard.
    |
    */

   
'endpoints' => [
       
'first' => [
           
'name' => 'First Instance', // The name of this instance for dropdown menu
           
'url' => 'http://polr.domain.com',
           
'api' => 'api/v2',
           
'key' => 'PolrApiKey', // The user API key on the Polr instance
       
],
    ],

   
/*
    |--------------------------------------------------------------------------
    | Polr Templates
    |--------------------------------------------------------------------------
    |
    | These templates will be used to print Polr HTML, Javascript and CSS codes.
    |
    */

   
'templates' => [
       
// 'html' => '', // HTML
        // 'css' => '', // CSS includes
        // 'js' => '', // Javascript includes
   
],
];