Skip to content

Instantly share code, notes, and snippets.

@anderson-mota
Created November 20, 2012 17:08
Show Gist options
  • Save anderson-mota/4119311 to your computer and use it in GitHub Desktop.
Save anderson-mota/4119311 to your computer and use it in GitHub Desktop.
Configuração Fuel index
<?php
//Original:
/**
* Path to the application directory.
*/
define('APPPATH', realpath(__DIR__.'/../fuel/app/').DIRECTORY_SEPARATOR);
/**
* Path to the default packages directory.
*/
define('PKGPATH', realpath(__DIR__.'/../fuel/packages/').DIRECTORY_SEPARATOR);
/**
* The path to the framework core.
*/
define('COREPATH', realpath(__DIR__.'/../fuel/core/').DIRECTORY_SEPARATOR);
//Novo: (Basta tirar "/..")
/**
* Path to the application directory.
*/
define('APPPATH', realpath(__DIR__.'/fuel/app/').DIRECTORY_SEPARATOR);
/**
* Path to the default packages directory.
*/
define('PKGPATH', realpath(__DIR__.'/fuel/packages/').DIRECTORY_SEPARATOR);
/**
* The path to the framework core.
*/
define('COREPATH', realpath(__DIR__.'/fuel/core/').DIRECTORY_SEPARATOR);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment