Changeset 12109
- Timestamp:
- 2007/04/04 23:45:48 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/data/downloads/module/security/security.php
r12108 r12109 23 23 switch($_POST['mode']) { 24 24 case 'edit': 25 $inst_inc = DATA_PATH . 'install.inc'; 25 26 // install.inc¤Î±£Êà 26 27 $hidden_inc = MODULE_PATH . 'security/install_inc.php'; 27 28 29 28 if(sfIsNormalInstallInc()) { 29 copy($inst_inc, $hidden_inc); 30 31 $require = "<?php 32 require_once($hidden_inc); 33 ?>"; 34 if($fp = fopen($inst_inc,"w")) { 35 fwrite($fp, $require); 36 fclose($fp); 37 } 38 } 30 39 break; 31 40 default: … … 109 118 // install.inc¤Î¥Õ¥¡¥¤¥ë¤ò¥Á¥§¥Ã¥¯¤¹¤ë 110 119 function sfCheckInstallInc() { 120 // install.inc¤¬±£Êøå¤Î¤â¤Î¤«È½Äꤹ¤ë 111 121 if(sfIsNormalInstallInc()) { 112 122 $arrResult['result'] = "¡ß";
Note: See TracChangeset
for help on using the changeset viewer.