File/init.php

Description

TinyMVC - init.php file

This is a startup file for TinyMVC framework, it should be included in project's index.php file, just after TINYMVC_PROJECT_PATH is defined, for example:

  1.  <?php
  2.   define('TINYMVC_PROJECT_PATH'realpath(dirname(__FILE__'/../'));
  3.   require_once('../../tinymvc/init.php');
  4.  ?>

You probably no need to change anything in here, unless you know what you're doing.

Includes
 require (TINYMVC_PATH.'/lib/autoload.function.php') (line 55)

__autoload() function file

Constants
TINYMVC_PATH = realpath(dirname(__FILE__)) (line 33)

full path to TinyMVC Framework directory. That constant *must* be defined properly to keep framework running

Constants

TINYMVC_PROJECT_CONFIG_PATH = TINYMVC_PROJECT_PATH.'/app/conf' (line 49)

full path to project's config folder

Constants

TINYMVC_PROJECT_CONTROLLERS_PATH = TINYMVC_PROJECT_PATH.'/app/controllers' (line 45)

full path to project's controllers folder

Constants

TINYMVC_PROJECT_MODEL_PATH = TINYMVC_PROJECT_PATH.'/app/model' (line 37)

full path to project's model folder

Constants

TINYMVC_PROJECT_VIEWS_PATH = TINYMVC_PROJECT_PATH.'/app/views' (line 41)

full path to project's views folder

Constants

TINYMVC_VERSION = '0.9 beta' (line 29)

TinyMVC Framework version

Constants

Documentation generated on Wed, 12 Sep 2007 23:14:36 +0100 by phpDocumentor 1.4.0a2