This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
header('Content-type: text/plain'); | |
foreach (array('index', 'mcp', 'ucp', 'config', 'adm/index') as $file) | |
{ | |
if (!file_exists("./$file.php")) | |
{ | |
die(sprintf('Sure this is in your phpBB directory? "%s" is missing', $file)); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -u -u -r -w -B -x .svn -x '*.sql' -x 'nfs*' -x sf_error -x style 3.0.2/includes/acm/acm_file.php 3.0.2_2/includes/acm/acm_file.php | |
--- 3.0.2/includes/acm/acm_file.php 2008-09-02 09:47:26.000000000 -0700 | |
+++ 3.0.2_2/includes/acm/acm_file.php 2008-09-09 12:06:52.000000000 -0700 | |
@@ -89,7 +95,7 @@ | |
if ($fp = @fopen($this->cache_dir . 'data_global.' . $phpEx, 'wb')) | |
{ | |
@flock($fp, LOCK_EX); | |
- fwrite($fp, "<?php\n\$this->vars = " . var_export($this->vars, true) . ";\n\n\$this->var_expires = " . var_export($this->var_expires, true) . "\n?>"); | |
+ fwrite($fp, "<?php\n\$this->vars = " . var_export($this->vars, true) . ";\n\n\$this->var_expires = " . var_export($this->var_expires, true) . ";\n\n\n?>"); | |
@flock($fp, LOCK_UN); |
NewerOlder