Mercurial > hg > ywww
diff uk/index.php @ 49:a67bf725e87b
put both paths in include_path and depend on that
author | Charlie Root |
---|---|
date | Wed, 16 Jan 2019 13:42:15 -0500 |
parents | d606320ec331 |
children |
line wrap: on
line diff
--- a/uk/index.php Sun Jan 06 12:46:24 2019 -0500 +++ b/uk/index.php Wed Jan 16 13:42:15 2019 -0500 @@ -124,7 +124,7 @@ $ret = 1; $countryCode = 1; - include "../../private/db.php"; + include "db.php"; $query = "CALL b_getBookInfo('$isbn', $countryCode)"; //echo $query; $res = mysqli_query($link, $query); @@ -175,7 +175,7 @@ $linkedRecommended = ""; for($i=0;$i<sizeof($xml->isbn);$i++){ $linkedISBN = $xml->isbn[$i]; - include "../../private/db.php"; + include "db.php"; $query = "CALL b_getBookInfo('$linkedISBN', $countryCode)"; //echo $query; $res = mysqli_query($link, $query) or exit( mysqli_error( $link ));