I´ve tried some things now with minor to no success.
What i've tried so far is this:
echo sha1_file("development/index.php")." <- Dev<br>"; // 39e7851f050051abf91eb0791ae6a87084113dd9
echo sha1_file("customer/index.php")." <- Customer"; //17c64da656fae781dd404bbdc10fd2bcb58e12d9
and
echo filesize("development/index.php")." <- Dev<br>"; //369711
echo filesize("customer/index.php")." <- Customer"; //363338
and this
echo filemtime("development/index.php")." <- Dev<br>"; // 1422516938
echo filemtime("customer/index.php")." <- Customer"; // 1422516943
The files are the same - I copied the one from development to customer with filezilla.
I think the sha1_-/md5 didn't work because of the different filetime
.
How can I check for sure that the file in the path customer/index.php
is the same as in development/index.php
?
For anyone else facing the same problem: The files were not identical!
Solving this problem to make sure the files are really identical:
copy('development/index.php', 'customer/index.php'); // copy file
echo sha1_file("development/index.php")." <- Dev<br>";
echo sha1_file("customer/index.php")." <- Cust<br>";