This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

Gallery Pastebin - Paste and link to it

Posted by Jens Wed 28th May 2008 23:02

  1. if (isset($GALLERY_PHP_VALUE_OK)) {
  2.         $htaccess = file("php_value.template");
  3.         if ($fd = @fs_fopen($outfile, "a")) {
  4.                 foreach ($htaccess as $line) {
  5.                         if (!ereg('^#', $line)) {
  6.                                 eval("\$line = \"$line\";");
  7.                                 fwrite($fd, $line);
  8.                         }
  9.                 }
  10.                 fclose($fd);
  11.         }
  12. }

PermaLink to this entry http://tools.gallery2.org/pastebin/1990 Download 1990.txt
Submit a correction or amendment below. (click here to make a fresh posting)

Your Name
Syntax:
For (optional)
Leave permalink as note for user. Remember my name in a cookie

Select channel for announcement:
#gallery#gallery-support

Code: To ensure legibility, keep your code lines under 80 characters long.

You can highlight lines: start with "@#" and end with "!#"

Description: You can leave a small description for your code. (Errors, etc)

Please note that your script will be available publicly.
Page generated in 0.076 seconds.