|
From: Paul S. O. <ps...@us...> - 2003-03-18 14:58:17
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory sc8-pr-cvs1:/tmp/cvs-serv6316/includes
Modified Files:
template.php
Log Message:
Change cache location to root path cache, you can delete the cache/ and its contents from the templates/ directory. Moved cache show, decompile, etc. methods to new admin_ object in functions_admin
Index: template.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/template.php,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -r1.29 -r1.30
*** template.php 4 Mar 2003 18:32:21 -0000 1.29
--- template.php 18 Mar 2003 14:58:07 -0000 1.30
***************
*** 1,843 ****
! <?php
! /***************************************************************************
! * template.php
! * -------------------
! * begin : Saturday, Feb 13, 2001
! * copyright : (C) 2001 The phpBB Group
! * email : su...@ph...
! *
! * $Id$
! *
[...1546 lines suppressed...]
!
! $data = '<?php' . "\nif (\$this->security()) {\n" . $data . "\n}\n?" . '>';
!
! if ($fp = @fopen($filename, 'w+'))
! {
! @flock($fp, LOCK_EX);
! @fwrite ($fp, $data);
! @flock($fp, LOCK_UN);
! @fclose($fp);
!
! @touch($filename, filemtime($this->files[$handle]));
! @umask(0);
! @chmod($filename, 0644);
! }
!
! return;
! }
! }
!
?>
|