Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2012
    Posts
    151
    Plugin Contributions
    0

    Default what is this code used for

    if (!defined('IS_ADMIN_FLAG')) {
    die('Illegal Access');
    }

    it display in many php files

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: what is this code used for

    It means that you need to be logged on as the server admin before the page can be displayed.

    Cheers
    Rod

  3. #3
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,269
    Plugin Contributions
    3

    Default Re: what is this code used for

    Quote Originally Posted by linjuming View Post
    if (!defined('IS_ADMIN_FLAG')) {
    die('Illegal Access');
    }

    it display in many php files
    It prevents illegal access to your admin area...

    Don't fuss over it...
    20 years a Zencart User

  4. #4
    Join Date
    Apr 2012
    Posts
    151
    Plugin Contributions
    0

    Default Re: what is this code used for

    thank you very much

 

 

Similar Threads

  1. What is Zend Framwork? What it's used for and how?
    By Syed Raza Mehdi in forum General Questions
    Replies: 1
    Last Post: 18 Dec 2013, 08:45 AM
  2. What Coupon Code was used?
    By sportrecovery in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 16 Feb 2012, 02:55 PM
  3. Can someone tell me what add on was used on this site to create this zoom effect?
    By strugglingnovice in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Jun 2010, 10:59 PM
  4. “zc_install/sql/plugins” What is this folder used for???
    By IllusionGuy in forum General Questions
    Replies: 4
    Last Post: 17 Nov 2007, 09:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg