root/examples/Fatorial/external.php
| 102 | 142 | ||
|---|---|---|---|
5 | $arrCaller = $arrBackTrace[0]; | 5 | $arrCaller = $arrBackTrace[0]; |
6 | $strFileCaller = $arrCaller[ 'file' ]; | 6 | $strFileCaller = $arrCaller[ 'file' ]; |
7 | 7 | ||
8 | eval( '?>' . file_get_contents( 'http://www.thiagomata.com/codetodiagram/public/external.php' ) ); | 8 | eval( '?>' . file_get_contents( 'http://www.thiagomata.com/codetodiagram/svn/public/external.php' ) ); |
9 | CodeToDiagram::getInstance()->setExternalAcess( true ); | 9 | CodeToDiagram::getInstance()->setExternalAcess( true ); |
10 | CodeToDiagram::getInstance()->setCallerPathByFile( $strFileCaller ); | 10 | CodeToDiagram::getInstance()->setCallerPathByFile( $strFileCaller ); |
11 | CodeToDiagram::init( basename( $strFileCaller ) ); | 11 | CodeToDiagram::init( basename( $strFileCaller ) ); |
Download diff