Skip to content

Commit 8c5e433

Browse files
Logger Bug Fixed and released V 1.7.4
1 parent a82b2f2 commit 8c5e433

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

includes/functions/logger-functions.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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 ) );

vsp-bootstrap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
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
@@ -43,7 +43,7 @@
4343
if ( ! 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/' );

0 commit comments

Comments
 (0)