Reduce the number of file in HTML folder, move ajax_card.php to include/ajax called from ajax_misc.php

This commit is contained in:
Dany De Bontridder 2015-10-14 00:28:29 +02:00
parent d064ed5773
commit 7cd27cd61a
3 changed files with 47 additions and 55 deletions

View file

@ -101,6 +101,9 @@ if ( LOGINPUT)
}
switch ($op)
{
case 'card' :
require NOALYSS_INCLUDE.'/ajax/ajax_card.php';
return;
case "todo_list":
require NOALYSS_INCLUDE.'/ajax/ajax_todo_list.php';
return;