File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,9 @@ function vsp_list_log_files( $path = false ) {
7676 foreach ( $ paths as $ i => $ _path ) {
7777 $ paths [ $ i ] = ltrim ( $ _path , '/ ' );
7878 if ( false !== $ custom_path ) {
79- $ paths [ $ i ] = $ custom_path . '/ ' . $ paths [ $ i ];
79+ $ paths [ $ i ] = $ custom_path . str_replace ( $ path , '' , $ paths [ $ i ] );
80+ } else {
81+ $ paths [ $ i ] = str_replace ( $ path , '' , $ paths [ $ i ] );
8082 }
8183 }
8284 return array_values ( array_unique ( $ paths ) );
Original file line number Diff line number Diff line change 2727 *
2828 * Framework Name: VSP Framework
2929 * Plugin Name: VSP Framework
30- * Version: 0.7.3
30+ * Version: 0.7.4
3131 * Author: Varun Sridharan
3232 * Author URI:http://varunsridharan.in
3333 * Text Domain:vsp-framework
4343if ( ! defined ( 'VSP_VERSION ' ) ) {
4444 try {
4545 $ upload_dir = wp_upload_dir ( null , false );
46- defined ( 'VSP_VERSION ' ) || define ( 'VSP_VERSION ' , '0.7.3 ' );
46+ defined ( 'VSP_VERSION ' ) || define ( 'VSP_VERSION ' , '0.7.4 ' );
4747 defined ( 'VSP_PATH ' ) || define ( 'VSP_PATH ' , plugin_dir_path ( __FILE__ ) );
4848 defined ( 'VSP_URL ' ) || define ( 'VSP_URL ' , trailingslashit ( plugins_url ( '' , __FILE__ ) ) );
4949 defined ( 'VSP_CORE ' ) || define ( 'VSP_CORE ' , VSP_PATH . 'core/ ' );
You can’t perform that action at this time.
0 commit comments