PHP Classes

File: app/example/environments/dev.php

Recommend this page to a friend!
  Classes of Carlos Eduardo Barcelos Amaral   Base MVC Framework   app/example/environments/dev.php   Download  
File: app/example/environments/dev.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Base MVC Framework
MVC framework to be the base of Web applications
Author: By
Last change:
Date: 6 years ago
Size: 528 bytes
 

Contents

Class file image Download
<?php

use \Core\Config;

/**
 * Portugues:
 *
 * Configura a aplicação, setando o name e URL
 * Outras configurações também são possíveis, como conexão com banco,
 * Configurações de e-mail e etc.
 *
 *
 * English:
 *
 * Set the application by setting the name and URL
 * Other settings are also posible like connection to the database,
 * E-mail settings, etc.
 **/


Config::Set([
  
'url' => 'http://localhost/base/public_html/',
  
'public' => dirname(dirname(__DIR__)).'/public_html',
  
'name' => 'example',
]);