Changeset 16452


Ignore:
Timestamp:
2007/10/16 18:52:46 (14 years ago)
Author:
adachi
Message:

register_shutdown_function修正, 各ページクラスでrequireしているファイルを移動

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/html/upgrade/index.php

    r16383 r16452  
    1414require_once '../require.php'; 
    1515require_once '../admin/require.php'; 
    16 require_once DATA_PATH  . 'module/Services/JSON.php'; 
     16require_once DATA_PATH . 'module/Services/JSON.php'; 
     17require_once DATA_PATH . 'module/Request.php'; 
     18require_once DATA_PATH . "module/Tar.php"; 
    1719 
    1820// }}} 
     
    2022 
    2123$objPage = lfPageFactory(); 
     24register_shutdown_function(array($objPage, "destroy")); 
    2225$objPage->init(); 
    2326$objPage->process(); 
    24 register_shutdown_function(array($objPage, "destroy")); 
     27 
    2528 
    2629function lfPageFactory() { 
     
    4043        $class .= 'ProductsList'; 
    4144        break; 
     45    case 'download': 
     46        $file  .= 'Download.php'; 
     47        $class .= 'Download'; 
     48        break; 
    4249    default: 
    4350        header("HTTP/1.1 400 Bad Request"); 
Note: See TracChangeset for help on using the changeset viewer.