FTPbucket is a PHP script that enables you to sync your BitBucket or GitHub repository with any web-server
102
stars
22
forks
source link
Error fix: (Can't find any repo with the name {epitome} for BitBucket in your config file.) #29
Closed
steven7mwesigwa closed 4 years ago
Enabled 'strict matching' i.e changed != to !==
If the library user has their 'bitbucket' 'root_name' similar to their 'repo_name', str_pos() will return 0 as the first occurrence position.
Without strict matching
echo strpos("epitome/epitome", "epitome") != false ? "TRUE" : "FALSE";
will evaluate to "FALSE".
Which is buggy. Hence receiving the error (Can't find any repo with the name {epitome} for BitBucket in your config file.)