Changeset 3245215
- Timestamp:
- 02/23/2025 02:28:51 PM (11 months ago)
- Location:
- qwiz-online-quizzes-and-flashcards/tags/3.92
- Files:
-
- 9 copied
-
. (copied) (copied from qwiz-online-quizzes-and-flashcards/tags/3.92b)
-
qwiz.js (copied) (copied from qwiz-online-quizzes-and-flashcards/tags/3.92b/qwiz.js)
-
qwiz.min.js (copied) (copied from qwiz-online-quizzes-and-flashcards/tags/3.92b/qwiz.min.js)
-
qwiz_qcards_common.js (copied) (copied from qwiz-online-quizzes-and-flashcards/tags/3.92b/qwiz_qcards_common.js)
-
qwiz_qcards_common.min.js (copied) (copied from qwiz-online-quizzes-and-flashcards/tags/3.92b/qwiz_qcards_common.min.js)
-
qwizcards-header.php (copied) (copied from qwiz-online-quizzes-and-flashcards/tags/3.92b/qwizcards-header.php)
-
qwizcards-plugin.php (copied) (copied from qwiz-online-quizzes-and-flashcards/tags/3.92b/qwizcards-plugin.php) (2 diffs)
-
readme.txt (copied) (copied from qwiz-online-quizzes-and-flashcards/tags/3.92b/readme.txt)
-
textentry_suggestions.txt (copied) (copied from qwiz-online-quizzes-and-flashcards/tags/3.92b/textentry_suggestions.txt)
Legend:
- Unmodified
- Added
- Removed
-
qwiz-online-quizzes-and-flashcards/tags/3.92/qwizcards-plugin.php
r3245118 r3245215 19 19 $qwiz_minified_f = strpos ($qwiz_query_string, 'qwizmin=1') !== false; 20 20 } 21 $match_f = preg_match ('/q debug=([^&]+)/', $qwiz_query_string, $matches);21 $match_f = preg_match ('/qwiz_debug=([^&]+)/', $qwiz_query_string, $matches); 22 22 if ($match_f) { 23 23 error_log ('[qwizcards-plugin.php] qdebug matches: ' . print_r ($matches, true)); … … 600 600 $feedback = addslashes (sanitize_text_field ($_POST['feedback'])); 601 601 $ch = curl_init (); 602 curl_setopt ($ch, CURLOPT_URL, "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent?key=A IzaSyBesEz7IBLdEK3AL4fhlrkj9FZ1MgVyTJE");602 curl_setopt ($ch, CURLOPT_URL, "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent?key=API_KEY"); 603 603 curl_setopt ($ch, CURLOPT_HEADER, false); // Headers not returned. 604 604 curl_setopt ($ch, CURLOPT_POST, true);
Note: See TracChangeset
for help on using the changeset viewer.