Changeset 10 for trunk/includes

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

Location:
trunk/includes
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/includes/EDIT_config_server.inc.php

    r1 r10  
    2525 
    2626$config['domain'] = 'xxx.dotnode.net'; 
     27$config['email'] = 'email_of_a_resp'; 
     28$config['admin_login'] = 'admin_login'; 
     29$config['admin_ip'] = 'admin_ip'; 
    2730 
    2831$dsn = array( 
  • trunk/includes/config.inc.php

    r1 r10  
    2222 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
    2323 ******************** http://opensource.ikse.net/projects/dotnode ***/ 
    24  
    25 require "config_server.inc.php"; 
    2624 
    2725if(array_key_exists('DOCUMENT_ROOT', $_SERVER) && strlen($_SERVER['DOCUMENT_ROOT']) > 0) 
     
    5048define('ALBUM_IMAGE_H', 708); 
    5149 
     50if(file_exists(INCLUDESPATH.'/config_server.inc.php')) 
     51        require 'config_server.inc.php'; 
     52else 
     53        die('Edit includes/EDIT_config_server.inc.php and rename it in config_server.inc.php'); 
     54 
     55$_SMARTY['config'] = $config; 
     56 
    5257ini_set('register_globals', 'off'); 
    5358ini_set('error_log', BASEPATH.'/../log/php.log');