PHP Classes

File: config.php

Recommend this page to a friend!
  Classes of Ettore Moretti   PHP API Server   config.php   Download  
File: config.php
Role: Configuration script
Content type: text/plain
Description: Class source
Class: PHP API Server
Route requests to API calls to handler classes
Author: By
Last change: PhpAPIServer
Date: 2 years ago
Size: 312 bytes
 

Contents

Class file image Download
<?php
/**
 * Configurazione Database
 * Your DB configuration
 */
define("DB_DSN","mysql:host=localhost;dbname=test");
define ( "DB_USER", "root" );
define ( "DB_PASSWORD", "" );
//Core path
define ( "CORE", "core/" );
// Api class path
define ( "API_PATH", "core/api/" );
// Db class path
define ("DB" , "db/");