PHP Classes

File: inc/init.inc.php

Recommend this page to a friend!
  Classes of Pierre-Henry Soria   Slim Simple PHP URL Shortener   inc/init.inc.php   Download  
File: inc/init.inc.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Slim Simple PHP URL Shortener
Application to create and expand short URLs
Author: By
Last change:
Date: 6 months ago
Size: 615 bytes
 

Contents

Class file image Download
<?php
/**
 * @author Pierre-Henry Soria <ph7software@gmail.com>
 * @copyright (c) 2013, Pierre-Henry Soria. All Rights Reserved.
 * @link http://github.com/pH-7/Slim-URL-Shortener
 * @license GNU General Public License <http://www.gnu.org/licenses/gpl.html>
 */

namespace PHS;

defined('PHS') or die('Forbidden acces');


// Start session
session_cache_limiter(false);
session_start();

require
VENDOR_PATH . 'Slim/Slim.php';
require
VENDOR_PATH . 'Db/idiorm.php';
require
VENDOR_PATH . 'Db/paris.php';
require
__DIR__ . '/config.inc.php';
require
__DIR__ . '/Model/Url.php';