<?php
 
 
/***
 
 * Name:    AlexSnet's framework MVC
 
 * About:    An MVC application framework for PHP
 
 * Copyright:    (C) 2008, Sudo me.
 
 * Author:    Alex Snet, me [at] alexsnet [dot] ru
 
 * Site:    http://alexsnet.ru/
 
 ***/
 
 
 
/* PHP error reporting level, if different from default */
 
//error_reporting(E_ALL);
 
 
/* if the /asmvc/ dir is not up one directory, uncomment and set here */
 
//define('ASMVC_BASEDIR','../asmvc/');
 
 
/* if the /myapp/ dir is not inside the /asmvc/ dir, uncomment and set here */
 
//define('ASMVC_MYAPPDIR','/myapp/');
 
 
/* directory separator alias */
 
if(!defined('DS'))
 
  define('DS',DIRECTORY_SEPARATOR);
 
 
/* set the base directory */
 
if(!defined('ASMVC_BASEDIR'))
 
  define('ASMVC_BASEDIR',dirname(__FILE__) . DS . '..' . DS . 'asmvc' . DS);
 
 
/* Start now! */
 
require(ASMVC_BASEDIR . 'sysfiles' . DS . 'ASfMVC.php');
 
 
?>
 
 |