We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f054a0b commit 1c4aaa4Copy full SHA for 1c4aaa4
setup/reqcheck.php
@@ -180,9 +180,9 @@ function getDataFromUrl($url) {
180
echo '<div class="lillist">'.$passed.' Safe Mode is off. (Required : Off)</div>';
181
}
182
183
-$result = getDataFromUrl("http://labs.phpvibe.com/demo.php");
+$result = getDataFromUrl("https://dummyjson.com/products");
184
$result = json_decode($result, true);
185
-if($result['valid'] == "true"){
+if($result['products']){
186
echo '<div class="lillist">'.$passed.' cUrl test passed.</div>';
187
} else {
188
echo '<div class="lillist">'.$aerror.' cUrl test failed.</div>';
@@ -222,4 +222,4 @@ function getDataFromUrl($url) {
222
</div>
223
</body>
224
</html>';
225
-?>
+?>
0 commit comments