Ignore:
Timestamp:
2006/10/13 17:03:39 (20 years ago)
Author:
naka
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/lib/slib.php

    r6321 r6325  
    9292// ¥¢¥Ã¥×¥Ç¡¼¥È¤ÇÀ¸À®¤µ¤ì¤¿PHP¤òÆÉ¤ß½Ð¤· 
    9393function sfLoadUpdateModule() { 
    94     /* 
    95     if(ereg("^/install/", $_SERVER['PHP_SELF'])) { 
    96         return; 
    97     }        
    98     //DB¤«¤éÀßÄê¾ðÊó¤ò¼èÆÀ 
    99     if(defined('DEFAULT_DSN')) { 
    100         if(sfTabaleExists('dtb_update')) { 
    101             $objConn = new SC_DbConn(); 
    102             // ºÇ½é¤Ë¼Â¹Ô¤¹¤ëPHP¥½¡¼¥¹¤ò¸¡º÷¤¹¤ë 
    103             $arrRet = $objConn->getAll("SELECT extern_php FROM dtb_update WHERE main_php = ? OR main_php = '*'",array($_SERVER['PHP_SELF'])); 
    104             foreach($arrRet as $array) { 
    105                 if($array['extern_php'] != "") { 
    106                     $path = DATA_PATH . $array['extern_php']; 
    107                     if(file_exists($path)) { 
    108                         require_once($path); 
    109                     } 
    110                 } 
    111             } 
    112         } 
    113     } 
    114     */ 
    115      
    11694    // URLÀßÄê¥Ç¥£¥ì¥¯¥È¥ê¤òºï½ü 
    11795    $main_php = ereg_replace(URL_DIR, "", $_SERVER['PHP_SELF']); 
    11896    $extern_php = DATA_PATH . "update/" . $main_php; 
    119  
    12097    if(file_exists($extern_php)) { 
    12198        require_once($extern_php); 
Note: See TracChangeset for help on using the changeset viewer.