Commit b4dd270f authored by Jean-Paul Saman's avatar Jean-Paul Saman

Protect view states.

parent 8f431fdf
......@@ -19,6 +19,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
if (!defined('W2P_BASE_DIR')) {
die('You should not access this file directly.');
}
include("vw_idx_inc.php");
echo timesheets(2, "Descending");
......
......@@ -18,6 +18,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
if (!defined('W2P_BASE_DIR')) {
die('You should not access this file directly.');
}
function getMonthByName($month)
{
......
......@@ -18,6 +18,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
if (!defined('W2P_BASE_DIR')) {
die('You should not access this file directly.');
}
include("vw_idx_inc.php");
......
......@@ -19,6 +19,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
if (!defined('W2P_BASE_DIR')) {
die('You should not access this file directly.');
}
include("vw_idx_inc.php");
echo timesheets(-1, "Descending");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment