PHP Classes

File: cradlecore-mvc-version1.0-r33/cradlecore-mvc/framework/cradlecore

Recommend this page to a friend!
  Classes of alejandro soto   Cradlecore MVC   cradlecore-mvc-version1.0-r33/cradlecore-mvc/framework/cradlecore   Download  
File: cradlecore-mvc-version1.0-r33/cradlecore-mvc/framework/cradlecore
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary data
Class: Cradlecore MVC
Web development framework that implements MVC
Author: By
Last change:
Date: 12 years ago
Size: 753 bytes
 

Contents

Class file image Download
#!/usr/bin/env php
<?php
/*
 * This file is part of the Cradlecore MVC package.
 * (c) Alejandro Soto Gonzalez. <asotog88@yahoo.es>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/*
 * Include path - pear
 *
 */
$dir = dirname(__FILE__);


/**
 * Current path
 */
$currentPath = getcwd();


/**
 * Script path
 */
$cradlecorePath = dirname(__FILE__);


/**
 * To know if the current path is inside a project
 */
$isProject = false;

// project exists?
if (file_exists('configuration/application.json') && file_exists('configuration/routes.json')) {
   
$isProject = true;
} else {

}

echo
"\n";

include(
$dir.'/lib/cradlecore/mvc/project/cli.php');

echo
"\n\n";