PHP Classes

File: utils/legacy/defines.php

Recommend this page to a friend!
  Classes of Isaac Trenado Mx   Dropsize MVCf   utils/legacy/defines.php   Download  
File: utils/legacy/defines.php
Role: Configuration script
Content type: text/plain
Description: Defines
Class: Dropsize MVCf
Base MVC framework that extends the Slim framework
Author: By
Last change:
Date: 8 years ago
Size: 2,350 bytes
 

Contents

Class file image Download
<?php
/**
 * DropsizeMVCf - extension of the SlimFramework and others tools
 *
 * @author Isaac Trenado <isaac.trenado@codigolimpio.com>
 * @copyright 2013 Isaac Trenado
 * @link http://dropsize.codigolimpio.com
 * @license http://dropsize.codigolimpio.com/license.txt
 * @version 3.0.1
 * @package DropsizeMVCf
 *
 * DropsizeMVCf - Web publishing software
 * Copyright 2015 by the contributors
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 *
 * This program incorporates work covered by the following copyright and
 * permission notices:
 *
 * DropsizeMVCf is (c) 2013, 2015
 * Isaac Trenado - isaac.trenado@codigolimpio.com -
 * http://www.codigolimpio.com
 *
 * Wherever third party code has been used, credit has been given in the code's comments.
 *
 * DropsizeMVCf is released under the GPL
 *
 */

/**
 * Global definiciones.
 * framework path definiciones.
 *
 * @package com.dropsizemvcf.utils.defines
 * @author Isaac Trenado
 * @since 1.0.0
 */

defined('_DSEXEC') or die;

define("_SITE", "drpdes");

$parts = explode(DIRECTORY_SEPARATOR, FPATH_BASE);

define('FPATH_ROOT', implode(DIRECTORY_SEPARATOR, $parts));

define('FDOMAIN', 'localhost');
define("FPATH_ROOT_DOMAIN", "http://" . FDOMAIN . '/dropsize');
define('FPATH_SITE', FPATH_ROOT);
define('FTITLE', 'DropSize MVCf | Codigolimpio.com');
define('FPATH_CONFIGURATION', FPATH_ROOT);
define('FPATH_LIBRARIES', FPATH_ROOT . DIRECTORY_SEPARATOR . 'utils');
define('FPATH_BUSINESS', FPATH_ROOT . DIRECTORY_SEPARATOR . 'business');
define('FPATH_DEPENDENCE', FPATH_ROOT . DIRECTORY_SEPARATOR . 'dependence');
define('FPATH_MODEL', FPATH_ROOT . DIRECTORY_SEPARATOR . 'model');