From 7f53241d5b03bbd28fff7c6ab2051033bfdfbf4b Mon Sep 17 00:00:00 2001 From: David Hicks Date: Fri, 4 Sep 2009 21:29:55 +1000 Subject: [PATCH] Move my_view_inc.php into root my_view_inc.php does not contain any sort of API and therefore should be located in the root with all other _inc files. --- core/my_view_inc.php => my_view_inc.php | 0 my_view_page.php | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename core/my_view_inc.php => my_view_inc.php (100%) diff --git a/core/my_view_inc.php b/my_view_inc.php similarity index 100% rename from core/my_view_inc.php rename to my_view_inc.php diff --git a/my_view_page.php b/my_view_page.php index 2c95fcb901..b94c54eabc 100644 --- a/my_view_page.php +++ b/my_view_page.php @@ -114,14 +114,14 @@ # for even box number start new row and column if ( 1 == $t_counter%2 ) { echo ''; - include( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'core' . DIRECTORY_SEPARATOR . 'my_view_inc.php' ); + include 'my_view_inc.php'; echo ''; } # for odd box number only start new column else if ( 0 == $t_counter%2 ) { echo ''; - include( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'core' . DIRECTORY_SEPARATOR . 'my_view_inc.php' ); + include 'my_view_inc.php'; echo ''; } @@ -142,7 +142,7 @@ } # display the required box - include( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'core' . DIRECTORY_SEPARATOR . 'my_view_inc.php' ); + include 'my_view_inc.php'; echo '
'; # close the first column for first half of boxes