Skip to content

Commit 14e2a62

Browse files
author
xusong.lie
committed
fixs
1 parent c74291c commit 14e2a62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/encode_files.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function encrypt_directory($dir, $new_dir, $expire, $type)
7272
$infos = explode('.', $file);
7373

7474
if (strtolower($infos[count($infos)-1]) == 'php'
75-
&& filesize($file) > 0)
75+
&& filesize($path) > 0)
7676
{
7777
if ($expire > 0) {
7878
$result = beast_encode_file($path, $new_path,

0 commit comments

Comments
 (0)