Lines 321-329
sub is_ajax {
Link Here
|
321 |
To executed at the beginning of scripts to stop the script at this point if |
321 |
To executed at the beginning of scripts to stop the script at this point if |
322 |
some errors are found. |
322 |
some errors are found. |
323 |
|
323 |
|
324 |
Tests for module 'members': |
324 |
A serie of tests can be run for a given module, or a specific check. |
325 |
* patron is not defined (we are looking for a patron that does no longer exist/never existed) |
325 |
Params "module" and "check" are mutually exclusive. |
326 |
* The logged in user cannot see patron's infos (feature 'cannot_see_patron_infos') |
326 |
|
|
|
327 |
Tests for modules: |
328 |
* members: |
329 |
- Patron is not defined (we are looking for a patron that does no longer exist/never existed) |
330 |
- The logged in user cannot see patron's infos (feature 'cannot_see_patron_infos') |
331 |
|
332 |
Tests for specific check: |
333 |
* csrf_token |
334 |
will test if the csrf_token CGI param is valid |
327 |
|
335 |
|
328 |
Others will be added here depending on the needs (for instance biblio does not exist will be useful). |
336 |
Others will be added here depending on the needs (for instance biblio does not exist will be useful). |
329 |
|
337 |
|
330 |
- |
|
|