Skip to content

Commit

Permalink
Set new name of whatsprot in tests folder
Browse files Browse the repository at this point in the history
  • Loading branch information
CodersBrothers committed Jul 13, 2014
1 parent ea85d3f commit 138c17b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Whatsprot.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1562,7 +1562,7 @@ protected function debugPrint($debugMsg)
*/
protected function dissectPhone()
{
if (($handle = fopen(dirname(__FILE__).'/countries.csv', 'rb')) !== false) {
if (($handle = fopen(dirname(__FILE__).'/assets/countries.csv', 'rb')) !== false) {
while (($data = fgetcsv($handle, 1000)) !== false) {
if (strpos($this->phoneNumber, $data[1]) === 0) {
// Return the first appearance.
Expand Down
2 changes: 1 addition & 1 deletion tests/TestWhatsProt.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
require_once '../src/whatsprot.class.php';
require_once '../src/Whatsprot.class.php';

/**
* Used to expose protected methods to the testing framework.
Expand Down
2 changes: 1 addition & 1 deletion tests/whatsapp.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/php
<?php
require '../src/whatsprot.class.php';
require '../src/Whatsprot.class.php';

function fgets_u($pStdn)
{
Expand Down

0 comments on commit 138c17b

Please sign in to comment.