Changeset 205886
- Timestamp:
- 02/15/2010 08:33:27 AM (16 years ago)
- Location:
- wordbay
- Files:
-
- 2 edited
-
tags/1.16/WordBay.php (modified) (2 diffs)
-
trunk/WordBay.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wordbay/tags/1.16/WordBay.php
r204162 r205886 12 12 // parse country file for locale settings 13 13 14 function functest(){ 15 echo "hello world!"; 16 } 17 18 function country($path){ 19 $path .= get_bloginfo('wpurl') . "/wp-content/plugins/wordbay/countries.txt"; 14 15 function country(){ 16 $path = get_bloginfo('wpurl') . "/wp-content/plugins/wordbay/countries.txt"; 20 17 21 18 $cFile = file($path); // read in file … … 95 92 { 96 93 97 $locals = country( "");94 $locals = country(); 98 95 99 96 $userCountry = grabber('http://api.hostip.info/country.php?ip=' . $_SERVER['REMOTE_ADDR']); -
wordbay/trunk/WordBay.php
r204162 r205886 12 12 // parse country file for locale settings 13 13 14 function functest(){ 15 echo "hello world!"; 16 } 17 18 function country($path){ 19 $path .= get_bloginfo('wpurl') . "/wp-content/plugins/wordbay/countries.txt"; 14 15 function country(){ 16 $path = get_bloginfo('wpurl') . "/wp-content/plugins/wordbay/countries.txt"; 20 17 21 18 $cFile = file($path); // read in file … … 95 92 { 96 93 97 $locals = country( "");94 $locals = country(); 98 95 99 96 $userCountry = grabber('http://api.hostip.info/country.php?ip=' . $_SERVER['REMOTE_ADDR']);
Note: See TracChangeset
for help on using the changeset viewer.