From: <vb...@us...> - 2002-10-01 12:51:45
|
Update of /cvsroot/webnotes/webnotes/core In directory usw-pr-cvs1:/tmp/cvs-serv22647/core Modified Files: pwn_api.php Log Message: - Fixed a problem in including the sample.css - Fixed a problem in referring to the new images from the sample manual. Index: pwn_api.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/core/pwn_api.php,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- pwn_api.php 1 Oct 2002 12:30:09 -0000 1.6 +++ pwn_api.php 1 Oct 2002 12:51:42 -0000 1.7 @@ -66,9 +66,7 @@ } ### -------------------- function pwn_index( $p_page, $p_page_top, $p_page_parent ) { - $images = dirname( dirname( __FILE__ ) ) . DIRECTORY_SEPARATOR . 'themes' . - DIRECTORY_SEPARATOR . config_get( 'theme' ) . DIRECTORY_SEPARATOR . - 'images' . DIRECTORY_SEPARATOR; + $images = config_get( 'web_directory' ) . 'themes/' . config_get( 'theme' ) . '/images/'; $image_top = $images . 'caret_top.gif'; $image_up = $images . 'caret_up.gif'; |