Changeset 12112 for branches/dev/data


Ignore:
Timestamp:
2007/04/04 23:52:04 (19 years ago)
Author:
naka
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/data/downloads/module/security/security.php

    r12111 r12112  
    2828    if(sfIsNormalInstallInc()) { 
    2929        if(copy($inst_inc, $hidden_inc)) { 
    30             $require = "<?php\n". 
    31                        "    require_once($hidden_inc);\n". 
    32                        "?>"; 
    33             if($fp = fopen($inst_inc,"w")) { 
    34                 fwrite($fp, $require); 
    35                 fclose($fp); 
    36             } 
     30            if(file_exists($hidden_inc)) { 
     31                $require = "<?php\n". 
     32                           "    require_once($hidden_inc);\n". 
     33                           "?>"; 
     34                if($fp = fopen($inst_inc,"w")) { 
     35                    fwrite($fp, $require); 
     36                    fclose($fp); 
     37                } 
     38            } 
    3739        } 
    3840    } 
Note: See TracChangeset for help on using the changeset viewer.