|
From: Florin C B. <ory...@us...> - 2013-07-02 02:24:07
|
Update of /cvsroot/mxbb/core/templates/prosilver In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv3752/templates/prosilver Modified Files: prosilver.cfg Log Message: Index: prosilver.cfg =================================================================== RCS file: /cvsroot/mxbb/core/templates/prosilver/prosilver.cfg,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** prosilver.cfg 24 Jun 2013 02:13:03 -0000 1.15 --- prosilver.cfg 2 Jul 2013 02:24:04 -0000 1.16 *************** *** 60,72 **** | - these are very handy paths to ALL kind of phpBB/mxBB graphics \********************************************************************************/ ! $mx_images['mx_graphics']['general'] = file_exists( $mx_root_path . $current_template_path . "/images/logo.gif" ) ? $current_template_path . "/images" : ( file_exists( $mx_root_path . $cloned_template_path . "/images/logo.gif" ) ? $cloned_template_path . "/images" : $default_template_path . "/images" ); ! $mx_images['mx_graphics']['page_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/page_icons" ) ? $current_template_path . "/images/page_icons" : ( file_exists( $mx_root_path . $cloned_template_path . "/images/page_icons" ) ? $cloned_template_path . "/images/page_icons" : $default_template_path . "/images/page_icons" ); ! $mx_images['mx_graphics']['block_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/block_icons" ) ? $current_template_path . "/images/block_icons" : ( file_exists( $mx_root_path . $cloned_template_path . "/images/block_icons" ) ? $cloned_template_path . "/images/block_icons" : $default_template_path . "/images/block_icons" ); ! $mx_images['mx_graphics']['menu_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/menu_icons" ) ? $current_template_path . "/images/menu_icons" : ( file_exists( $mx_root_path . $cloned_template_path . "/images/menu_icons" ) ? $cloned_template_path . "/images/menu_icons" : $default_template_path . "/images/menu_icons" ); ! $mx_images['mx_graphics']['admin_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/admin_icons" ) ? $current_template_path . "/images/admin_icons" : ( file_exists( $mx_root_path . $cloned_template_path . "/images/admin_icons" ) ? $cloned_template_path . "/images/admin_icons" : $default_template_path . "/images/admin_icons" ); ! $mx_images['mx_graphics']['phpbb_icons'] = !empty($mx_user->default_template_name) && file_exists($phpbb_root_path . "styles/" . $mx_user->default_template_name . "/imageset") ? "styles/" . $mx_user->default_template_name . "/imageset" : ( !empty($mx_user->cloned_template_name) && file_exists($phpbb_root_path . "styles/" . $mx_user->cloned_template_name . "/imageset") ? "styles/" . $mx_user->cloned_template_name . "/imageset" : $current_template_path . "/imageset"); ! $mx_images['mx_graphics']['addon_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/addon_icons" ) ? $current_template_path . "/images/addon_icons" : ( file_exists( $mx_root_path . $cloned_template_path . "/images/addon_icons" ) ? $cloned_template_path . "/images/addon_icons" : $default_template_path . "/images/addon_icons" ); ! $mx_images['mx_graphics']['mx_icons'] = !empty($current_template_path) && file_exists( $mx_root_path . $current_template_path . "/images" ) ? $current_template_path . "/images" : ( !empty($cloned_template_path) && file_exists( $mx_root_path . $cloned_template_path . "/images" ) ? $cloned_template_path . "/images" : $default_template_path . "/images"); ! $mx_images['mx_graphics']['theme_icons'] = file_exists( $mx_root_path . $current_template_path . "/theme/images" ) ? $current_template_path . "/theme/images" : ( file_exists( $mx_root_path . $cloned_template_path . "/theme/images" ) ? $cloned_template_path . "/theme/images" : $default_template_path . "/theme/images" ); // --- 60,76 ---- | - these are very handy paths to ALL kind of phpBB/mxBB graphics \********************************************************************************/ ! //do do@ direct acces for modules example for rss, output ! //./../../../templates/prosilver ! // the open_basedir restriction in effect break the pages ! //die("$current_template_path"); then remove @ ! $mx_images['mx_graphics']['general'] = @file_exists( $mx_root_path . $current_template_path . "/images/logo.gif" ) ? $current_template_path . "/images" : ( @file_exists( $mx_root_path . $cloned_template_path . "/images/logo.gif" ) ? $cloned_template_path . "/images" : $default_template_path . "/images" ); ! $mx_images['mx_graphics']['page_icons'] = @file_exists( $mx_root_path . $current_template_path . "/images/page_icons" ) ? $current_template_path . "/images/page_icons" : ( @file_exists( $mx_root_path . $cloned_template_path . "/images/page_icons" ) ? $cloned_template_path . "/images/page_icons" : $default_template_path . "/images/page_icons" ); ! $mx_images['mx_graphics']['block_icons'] = @file_exists( $mx_root_path . $current_template_path . "/images/block_icons" ) ? $current_template_path . "/images/block_icons" : ( @file_exists( $mx_root_path . $cloned_template_path . "/images/block_icons" ) ? $cloned_template_path . "/images/block_icons" : $default_template_path . "/images/block_icons" ); ! $mx_images['mx_graphics']['menu_icons'] = @file_exists( $mx_root_path . $current_template_path . "/images/menu_icons" ) ? $current_template_path . "/images/menu_icons" : ( @file_exists( $mx_root_path . $cloned_template_path . "/images/menu_icons" ) ? $cloned_template_path . "/images/menu_icons" : $default_template_path . "/images/menu_icons" ); ! $mx_images['mx_graphics']['admin_icons'] = @file_exists( $mx_root_path . $current_template_path . "/images/admin_icons" ) ? $current_template_path . "/images/admin_icons" : ( @file_exists( $mx_root_path . $cloned_template_path . "/images/admin_icons" ) ? $cloned_template_path . "/images/admin_icons" : $default_template_path . "/images/admin_icons" ); ! $mx_images['mx_graphics']['phpbb_icons'] = !empty($mx_user->default_template_name) && @file_exists($phpbb_root_path . "styles/" . $mx_user->default_template_name . "/imageset") ? "styles/" . $mx_user->default_template_name . "/imageset" : ( !empty($mx_user->cloned_template_name) && @file_exists($phpbb_root_path . "styles/" . $mx_user->cloned_template_name . "/imageset") ? "styles/" . $mx_user->cloned_template_name . "/imageset" : $current_template_path . "/imageset"); ! $mx_images['mx_graphics']['addon_icons'] = @file_exists( $mx_root_path . $current_template_path . "/images/addon_icons" ) ? $current_template_path . "/images/addon_icons" : ( @file_exists( $mx_root_path . $cloned_template_path . "/images/addon_icons" ) ? $cloned_template_path . "/images/addon_icons" : $default_template_path . "/images/addon_icons" ); ! $mx_images['mx_graphics']['mx_icons'] = !empty($current_template_path) && @file_exists( $mx_root_path . $current_template_path . "/images" ) ? $current_template_path . "/images" : ( !empty($cloned_template_path) && @file_exists( $mx_root_path . $cloned_template_path . "/images" ) ? $cloned_template_path . "/images" : $default_template_path . "/images"); ! $mx_images['mx_graphics']['theme_icons'] = @file_exists( $mx_root_path . $current_template_path . "/theme/images" ) ? $current_template_path . "/theme/images" : ( @file_exists( $mx_root_path . $cloned_template_path . "/theme/images" ) ? $cloned_template_path . "/theme/images" : $default_template_path . "/theme/images" ); // |