PHP Classes

File: cli-autoload.php

Recommend this page to a friend!
  Classes of Scott Arciszewski   Discretion   cli-autoload.php   Download  
File: cli-autoload.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Discretion
Show contact forms and deliver encrypted mail
Author: By
Last change:
Date: 2 years ago
Size: 422 bytes
 

Contents

Class file image Download
<?php

define
('DISCRETION_APP_ROOT', __DIR__);

require_once
DISCRETION_APP_ROOT . '/vendor/autoload.php';


$settings = require DISCRETION_APP_ROOT . '/src/settings.php';
$app = new \Slim\App($settings);

// Set up dependencies
require DISCRETION_APP_ROOT . '/src/dependencies.php';

// Setup the database connection
require DISCRETION_APP_ROOT . '/src/database.php';

require
DISCRETION_APP_ROOT . '/src/chronicle.php';