Author: Thiago Mata
(2009/04/05 13:36) Almost 3 years ago
wrong const name
1
<?php
2
3
define( "PATH_CODE_TO_DIAGRAM" , str_replace( "\\" , "/" , str_replace( basename( __FILE__ ) , "" , __FILE__ ) ) );
4
define( "PATH_CODE_TO_DIAGRAM_COMPONENT" , PATH_CORUJA . "components/" );
define( "PATH_CODE_TO_DIAGRAM_COMPONENT" , PATH_CODE_TO_DIAGRAM . "components/" );
5
6
require_once( PATH_CODE_TO_DIAGRAM_COMPONENT . "_start.php" );
7
define( "PATH_CODE_TO_DIAGRAM_COMPONENT" , PATH_CORUJA . "components/" );define( "PATH_CODE_TO_DIAGRAM_COMPONENT" , PATH_CODE_TO_DIAGRAM . "components/" );