Login   Register  
PHP Classes
elePHPant
Icontem

File: defines.inc.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Valics Lehel  >  PHP or Java Class Code Generator  >  defines.inc.php  >  Download  
File: defines.inc.php
Role: Configuration script
Content type: text/plain
Description: defines
Class: PHP or Java Class Code Generator
Generate PHP or Java database access classes
Author: By
Last change:
Date: 5 years ago
Size: 682 bytes
 

Contents

Class file image Download
<?php
define
("VERSION","1.2.0");
// define where you root is, usually is ... your-path/program-name/
// always use ENDING SLASH
if (!strstr(PHP_OS'WIN'))
    
define("SEPARATOR""/");
else
    
define("SEPARATOR""\\");
define("INDEX_PATH"dirname(__FILE__).SEPARATOR);

// define your language file, ex: en; ro; de;
$LANG "en";

define("INDEX_URL","");
define("DEFAULT_PATH",dirname(__FILE__)."/");
define("TEMPLATE_PATH",DEFAULT_PATH."programtemplates/");
define("INCLUDE_PATH",DEFAULT_PATH."include/");
define("EMAIL_CONTACT","support@grafxsoftware.com");

error_reporting (E_ALL & ~E_NOTICE);
//error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR);
?>