|
Posted by Marek Simon on 01/30/06 19:41
Jon wrote:
> Yeah, unless I want to completely kill off the check all together (I could
> leave it by commenting, but would prefer to have no code left if I were to
> decide to remove it). The bigger issue is adding it to each file.
>
> "Jonathan" <jonathan@heelal.nl> wrote in message
> news:43de473c$0$12840$ba620dc5@text.nova.planet.nl...
>
>>Jon wrote:
>>
>>>All,
>>>
>>>Now, I've done this many times before, however I'm getting kind of sick
>>>of putting the include file to check the session variable on EVERY page
>>>within a directory. This is especially irritating if I for whatever
>>>reason want to unsecure a directory, or change the structure of the login
>>>system - it forces me to go into each file of the admin area and remove
>>>the call to the file.
>>
>>Wouldn'y it be easier to comment out the neccesarry lines in the include
>>file, this way you don't need to open every file and change it?
>>
>>Jonathan
>
>
>
so just write include("includes.php") and from it include the other stuff.
Marek
Navigation:
[Reply to this message]
|