Changeset 122 for trunk/export/export.php
- Timestamp:
- Feb 22, 2009, 12:44:36 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/export/export.php
r121 r122 279 279 $File->OpenFile('../source/'.$Config['Web']['GameVersion'].'/lua/'.$Group['LuaFileName'].'.lua'); 280 280 $File2 = new FileStream(); 281 $File2->CreateFile($TempDir.$Group['Lua FileName'].'.lua');281 $File2->CreateFile($TempDir.$Group['LuaMPQFolder'].'/'.$Group['LuaFileName'].'.lua'); 282 282 283 283 while(!$File->EOF()) … … 302 302 //echo('.'); 303 303 } 304 $File2->WriteLine($Value['ShortCut'].' = "'.$Value['Text'].'"; -- '.$Value['Comment']."\n"); 304 $NewLine = $Value['ShortCut'].' = "'.$Value['Text'].'";'; 305 if($Value['Comment'] != '') $NewLine .= ' -- '.$Value['Comment']; 306 $NewLine .= "\n"; 307 $File2->WriteLine($NewLine); 305 308 } else $File2->WriteLine($Line."\n"); 306 309 }
Note:
See TracChangeset
for help on using the changeset viewer.