Changeset 10 for trunk/dntp

Show
Ignore:
Timestamp:
08/09/05 01:23:02 (7 years ago)
Author:
alexx
Message:

* remove last "domain dependency" (hard coded domain)
* replace hard coded IP or login (for debug/administration purpose) by configuration array $configadmin_login? and $configadmin_ip?
* replace hard coded email by $configemail?
* manage smarty var by $_SMARTY (that will be assigned on time at the end of script), dotnode-*.php from the root has been modified
* fixe gettext file to reflect change into terms that contain an hard coded email
* some minor change

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/dntp/action.php

    r1 r10  
    5454                header("HTTP/1.1 403 Forbidden"); 
    5555                print $_SERVER["PHP_SELF"].": Action forbidden<br />\n"; 
    56                 if($_SERVER['REMOTE_ADDR'] == "82.226.113.191") 
     56                if($_SERVER['REMOTE_ADDR'] == $config['admin_ip']) 
    5757                        print ACTIONSPATH.'/'.$action; 
    5858        }