Login   Register  
PHP Classes
elePHPant
Icontem

File: htdocs/index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Alex B. Snet  >  ASf MVC  >  htdocs/index.php  >  Download  
File: htdocs/index.php
Role: Auxiliary script
Content type: text/plain
Description: sample index
Class: ASf MVC
MVC implementation framework
Author: By
Last change:
Date: 2008-12-01 16:56
Size: 860 bytes
 

Contents

Class file image Download
<?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');

?>