Ignore:
Timestamp:
2007/07/20 15:58:59 (17 years ago)
Author:
nanasess
Message:

r15064 から svn cp
とりあえず暫定コミット.

  • UTF-8 に変更
  • slib.php, glib.php のクラス化
  • LC_Page の抽象化(一部)
Location:
branches/feature-module-update
Files:
1 edited
2 copied

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update

    • Property svn:ignore set to
      .cache

      .settings

      .projectOptions
  • branches/feature-module-update/html/admin/contents/file_view.php

    r12157 r15078  
    99require_once(DATA_PATH . "include/file_manager.inc"); 
    1010 
    11 // ¥½¡¼¥¹¤È¤·¤Æɽ¼¨¤¹¤ë¥Õ¥¡¥¤¥ë¤òÄêµÁ(ľÀܼ¹Ԥ·¤Ê¤¤¥Õ¥¡¥¤¥ë) 
     11// ソースとして表示するファイルを定義(直接実行しないファイル) 
    1212$arrViewFile = array( 
    1313                     'html', 
     
    1919); 
    2020 
    21 // ³ÈÄ¥»Ò¼èÆÀ 
     21// 拡張子取得 
    2222$arrResult = split('\.', $_GET['file']); 
    2323$ext = $arrResult[count($arrResult)-1]; 
    2424 
    25 // ¥Õ¥¡¥¤¥ëÆâÍÆɽ¼¨ 
     25// ファイル内容表示 
    2626if(in_array($ext, $arrViewFile)) { 
    27     // ¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤ó¤Çɽ¼¨ 
     27    // ファイルを読み込んで表示 
    2828    header("Content-type: text/plain\n\n"); 
    2929    print(sfReadFile(USER_PATH.$_GET['file'])); 
Note: See TracChangeset for help on using the changeset viewer.