diff --git a/src/Debug/Debug.php b/src/Debug/Debug.php index 5a57731..d83ed80 100644 --- a/src/Debug/Debug.php +++ b/src/Debug/Debug.php @@ -66,10 +66,10 @@ public static function log( $log ) { public static function d( $log ) { echo "
";
-		print_r( $value );
+		print_r( $log );
 		echo "
"; - self::log( $value ); + self::log( $log ); } /** @@ -81,10 +81,10 @@ public static function d( $log ) { public static function ddd( $log ) { echo "
";
-		print_r( $value );
+		print_r( $log );
 		echo "
"; - self::log( $value ); + self::log( $log ); die(); } diff --git a/src/debug.php b/src/debug.php index 0b930fe..ffd3c36 100644 --- a/src/debug.php +++ b/src/debug.php @@ -42,14 +42,14 @@ function debug( $log ) { } } -if ( ! function_exists( 'd' ) ) { - function d( $log ) { - Debug::d( $log ); - } -} +// if ( ! function_exists( 'd' ) ) { +// function d( $log ) { +// Debug::d( $log ); +// } +// } -if ( ! function_exists( 'ddd' ) ) { - function ddd( $log ) { - Debug::ddd( $log ); - } -} +// if ( ! function_exists( 'ddd' ) ) { +// function ddd( $log ) { +// Debug::ddd( $log ); +// } +// }