Correction erreur Cédric
This commit is contained in:
parent
9d0c8d10fd
commit
5ed18444fc
2
API.php
2
API.php
|
@ -1,4 +1,4 @@
|
|||
<?php //define('__ROOT__', dirname(__FILE__) );
|
||||
<?php define('__ROOT__', dirname(__FILE__) );
|
||||
require_once __ROOT__.'/manager/security.php';
|
||||
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ APIClass.prototype = {
|
|||
if( ptrAPI.xhr[i].readyState == 4 ){ // si la requête est terminée
|
||||
|
||||
/* DEBUG : affiche la réponse BRUTE de API.php */
|
||||
console.log('API.php => '+ptrAPI.xhr[i].responseText);
|
||||
// console.log('API.php => '+ptrAPI.xhr[i].responseText);
|
||||
console.log( JSON.parse(ptrAPI.xhr[i].responseText) );
|
||||
|
||||
/* si success de requête */
|
||||
|
|
Loading…
Reference in New Issue