Skip to content

Commit 21a9cbf

Browse files
Merge pull request #5 from ExpressTech/dev-1.0.2
Solved installation error
2 parents 45b3d18 + 07193a5 commit 21a9cbf

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

includes/plugin.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class Plugin {
1818
* @var object
1919
*/
2020
public static $instance = null;
21+
public $data = array();
2122

2223
/** Magic Methods *********************************************************/
2324

includes/post-types/contentsView.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function wp_enqueue_style()
5252
public function isFolder($path)
5353
{
5454
$path_info = pathinfo($path);
55-
return $path_info['extension'] ? false : true;
55+
return (isset($path_info['extension'])) ? false : true;
5656
}
5757

5858
/**

0 commit comments

Comments
 (0)