Blame Automation/Php/Webenv/admin/p_links_add.php
|
Alain Reguera Delgado |
8f60cb |
|
|
Alain Reguera Delgado |
8f60cb |
//--------------------/* Show error if called directly */
|
|
Alain Reguera Delgado |
8f60cb |
|
|
Alain Reguera Delgado |
8f60cb |
if ( basename($_SERVER['PHP_SELF']) <> 'index.php')
|
|
Alain Reguera Delgado |
8f60cb |
{
|
|
Alain Reguera Delgado |
8f60cb |
echo 'Sorry, this page can\'t be served directly. ';
|
|
Alain Reguera Delgado |
8f60cb |
echo 'Try this instead.';
|
|
Alain Reguera Delgado |
8f60cb |
exit;
|
|
Alain Reguera Delgado |
8f60cb |
}
|
|
Alain Reguera Delgado |
8f60cb |
?>
|
|
Alain Reguera Delgado |
8f60cb |
|