Login   Register  
PHP Classes
elePHPant
Icontem

File: inc/config_inc.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Otavio Theiss  >  GOOX_SWFOBJECT  >  inc/config_inc.php  >  Download  
File: inc/config_inc.php
Role: Configuration script
Content type: text/plain
Description: Config file
Class: GOOX_SWFOBJECT
Embed Flash objects in Web pages
Author: By
Last change:
Date: 6 years ago
Size: 387 bytes
 

Contents

Class file image Download
<?

//Altere esta variaveis
$path_abs $_SERVER['DOCUMENT_ROOT'].'/';
$path_url 'http://localhost/';

/*
* Function AutoLoad funciona apenas no PHP5 e carrega as classes automaticamente
* @param string 
*
*/
function __autoload($class_name) {
  global 
$path_abs;
    
$class_name strtolower($class_name);
    require_once 
$path_abs.'class/'.$class_name.'_class.php';
}

?>