[Sie-announce] SIEコード [2091] SIE用の結合PHPファイル

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2010年 10月 25日 (月) 22:51:39 JST


Revision: 2091
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2091
Author:   dhrname
Date:     2010-10-25 22:51:39 +0900 (Mon, 25 Oct 2010)

Log Message:
-----------
SIE用の結合PHPファイル

Added Paths:
-----------
    trunk/build.php

Added: trunk/build.php
===================================================================
--- trunk/build.php	                        (rev 0)
+++ trunk/build.php	2010-10-25 13:51:39 UTC (rev 2091)
@@ -0,0 +1,22 @@
+<html>
+<head><title>accesslog.php</title></head>
+<body>
+<?php
+print(date("Y/m/d H:i:s ") . "<br /> \n");
+print("<p> access log : </p> \n");
+$filelist = array("org/w3c/core.js", "org/w3c/dom/events.js", "org/w3c/dom/stylesheet.js", "org/w3c/dom/css.js", "org/w3c/dom/smil.js", "org/w3c/dom/svg.js");
+$s = "";
+foreach ($filelist as $file) {
+    $st = file_get_contents($file);
+    $st = str_replace('new STLog(true', 'new STLog(false', $st);
+    if ($file != "org/w3c/dom/svg.js") {
+        preg_match("/\/\*SIE\-SVG[\s\S]+Legal\/ for more details[^\*]+\*\//", $st, $matches);
+        $st = preg_replace("/\/\*SIE\-SVG[\s\S]+Legal\/ for more details[^\*]+\*\//", "", $st);
+    }
+    $s .= $st;
+}
+$s = $matches[0] .$s;
+file_put_contents("sie_beta.js", $s);
+?>
+</body>
+</html>
\ No newline at end of file




Sie-announce メーリングリストの案内
Back to archive index