C
|
cgphp 9/24/2012 |
Not sure I understand what you mean. Do you want to prohibit the access to that page when mastertable parameter is part of the request? |
N
|
netmedia59 author 9/24/2012 |
Hey Cristian, Not sure I understand what you mean. Do you want to prohibit the access to that page when mastertable parameter is part of the request? |
![]() |
Sergey Kornilov admin 9/24/2012 |
The easiest solution - remove blabla_list.php from the menu so it can be only accessed from the master table. |
C
|
cgphp 9/24/2012 |
In the "After application initialized" event, enter the following code: if(basename($_SERVER['SCRIPT_FILENAME']) == 'blabla_list.php' && (!isset($_GET['mastertable']) || $_GET['mastertable'] != 'salonspro')) |
N
|
netmedia59 author 9/25/2012 |
Hey Cristian, |
C
|
cgphp 9/25/2012 |
if(basename($_SERVER['SCRIPT_FILENAME']) == 'blabla_list.php' && (!isset($_POST['a']) || $_POST['a'] != 'delete' || !isset($_GET['mastertable']) || $_GET['mastertable'] != 'salonspro')) |
N
|
netmedia59 author 9/25/2012 |
Hey Cristian if(basename($_SERVER['SCRIPT_FILENAME']) == 'blabla_list.php' && (!isset($_POST['a']) || $_POST['a'] != 'delete' || !isset($_GET['mastertable']) || $_GET['mastertable'] != 'salonspro')) |