PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Adnane EL Mouttaki   Covoiturage   index.php   Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Covoiturage
System for managing a car pooling service
Author: By
Last change:
Date: 6 years ago
Size: 558 bytes
 

Contents

Class file image Download
<?php

$composerAutoload
= dirname(__FILE__) . '/vendor/autoload.php';
require_once(
$composerAutoload);

// change the following paths if necessary
$yii=dirname(__FILE__).'/yii/framework/yii.php';
$config=dirname(__FILE__).'/protected/config/main.php';

// remove the following lines when in production mode
defined('YII_DEBUG') or define('YII_DEBUG',true);
// specify how many levels of call stack should be shown in each log message
defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);

require_once(
$yii);
Yii::createWebApplication($config)->run();