Skip to content

Commit

Permalink
Add comment to the replace_concat_includes script
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmehc committed Sep 3, 2009
1 parent cd463d0 commit d60c195
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions misc/replace_concat_includes.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
#!/usr/bin/env php
<?php
/*
*
* Replaces define ("MYCONSTANT", "mydir/"); include (MYCONSTANT."myfile.php"); with include ("mydir/"."myfile.php");
* in all php files in downloaded_php/downloads
*
* TODO: This isn't working properly. Probably need to escape more characters passed to r-option. This is probably best done in
* the replace_include_constants plugin, however.
*/

include ("test/framework/lib/header.php");

Expand Down

0 comments on commit d60c195

Please sign in to comment.