DrSterling / ezrpg

Automatically exported from code.google.com/p/ezrpg
GNU General Public License v3.0
0 stars 0 forks source link

defining IN_EZRPG #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Remove the line defining IN_EZRPG from module class.

Place in init (or config) and add more checks for IN_EZRPG in root folder 
files and other files that should not be accessed directly.

(Works as alternative for placing all files outside of web folder)

For a shorter(on-liner) check, try changing checking code to:
defined('IN_EZRPG') or exit;

Original issue reported on code.google.com by zeg...@gmail.com on 7 Jul 2009 at 9:44

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
placed IN_EZRPG definition in index.php

All pages that are directly viewed must define this, as every other file in lib 
and 
module folders will check for this.

So far it's just:
index.php
bar.php
captcha.php

Original comment by zeg...@gmail.com on 9 Jul 2009 at 2:01

GoogleCodeExporter commented 9 years ago
This issue was closed by r338.

Original comment by zeg...@gmail.com on 12 Jul 2009 at 12:18