pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] rev 2242 - trunk/contrib/level_comment_tool


From: address@hidden
Subject: [Pingus-CVS] rev 2242 - trunk/contrib/level_comment_tool
Date: Sat, 10 Apr 2004 20:23:55 +0200

Author: torangan
Date: 2004-04-10 20:23:55 +0200 (Sat, 10 Apr 2004)
New Revision: 2242

Modified:
   trunk/contrib/level_comment_tool/file-assoc-help.html
   trunk/contrib/level_comment_tool/level-cache.inc
Log:
some more changes for .plf --> .pingus


Modified: trunk/contrib/level_comment_tool/file-assoc-help.html
===================================================================
--- trunk/contrib/level_comment_tool/file-assoc-help.html       2004-04-10 
17:09:02 UTC (rev 2241)
+++ trunk/contrib/level_comment_tool/file-assoc-help.html       2004-04-10 
18:23:55 UTC (rev 2242)
@@ -26,7 +26,7 @@
     Navigator / Helper Applications / New Type, add...</p>
     <ul>
       <li>MIME type "application/pingus-level"</li>
-      <li>Extension "plf" and</li>
+      <li>Extension "pingus" and</li>
       <li>Open it with "&lt;path and name of pingus executable&gt;".</li>
     </ul>
     <p>...and click OK.</p>
@@ -39,7 +39,7 @@
       <li>Select 'application' as Group and type "pingus-level" as Type 
name.</li>
       <li>Click OK</li>
       <li>Click Filename Patterns / Add</li>
-      <li>Type "*.plf" and click OK</li>
+      <li>Type "*.pingus" and click OK</li>
       <li>Click Application Preference Order / Add</li>
       <li>Browse for or type the path to Pingus executable</li>
       <li>Click OK</li>

Modified: trunk/contrib/level_comment_tool/level-cache.inc
===================================================================
--- trunk/contrib/level_comment_tool/level-cache.inc    2004-04-10 17:09:02 UTC 
(rev 2241)
+++ trunk/contrib/level_comment_tool/level-cache.inc    2004-04-10 18:23:55 UTC 
(rev 2242)
@@ -29,7 +29,7 @@
     $db_driver = "db3";
     //$db_driver = "db4";
 
-    $dbfile = "/home/elonen/public_html/pingus/comments/cache.db";
+    $dbfile = "/home/pingus/public_html/level_comment_tool/comments/cache.db";
     //$dbfile = "/var/www/pingus/comments/cache.db";
 
     $db_handle = @dba_open ($dbfile, "w", $db_driver);
@@ -65,7 +65,7 @@
   $data = dba_fetch( make_db_key( $cathegory, $level ), $db_handle );
   if ( $data === False )
   {
-    $levelfile = sandbox_check( "data/levels/$cathegory/$level.plf", "data/" );
+    $levelfile = sandbox_check( "data/levels/$cathegory/$level.pingus", 
"data/" );
     $leveldata = parse_level( $levelfile );
     $leveldata["md5sum"] = md5(implode("", file($levelfile)));
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]