[dZeeemp-cvs] dzeeemp.sources/core library.Updates.php,1.2,1.3 the.Thorn.static.php,1.1,1.2
Brought to you by:
lovchy
|
From: Boris B. <lo...@us...> - 2004-06-12 14:09:55
|
Update of /cvsroot/dzeeemp/dzeeemp.sources/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8166/core Modified Files: library.Updates.php the.Thorn.static.php Log Message: Group of new bugs fixed Index: library.Updates.php =================================================================== RCS file: /cvsroot/dzeeemp/dzeeemp.sources/core/library.Updates.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** library.Updates.php 19 May 2004 23:11:37 -0000 1.2 --- library.Updates.php 12 Jun 2004 14:09:45 -0000 1.3 *************** *** 34,37 **** --- 34,40 ---- } + + define ('THORN_UPDM_SENSOR_PATH', DIR.'internal/up2date.inc'); + /** * web-site updates tracking class *************** *** 45,49 **** function setUpDate () { ! touch ('./internal/up2date.inc'); } // }}} --- 48,52 ---- function setUpDate () { ! touch (THORN_UPDM_SENSOR_PATH); } // }}} *************** *** 57,61 **** function getUpDate () { ! return filemtime('./internal/up2date.inc'); } // }}} --- 60,64 ---- function getUpDate () { ! return filemtime(THORN_UPDM_SENSOR_PATH); } // }}} Index: the.Thorn.static.php =================================================================== RCS file: /cvsroot/dzeeemp/dzeeemp.sources/core/the.Thorn.static.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** the.Thorn.static.php 19 May 2004 23:11:37 -0000 1.1 --- the.Thorn.static.php 12 Jun 2004 14:09:46 -0000 1.2 *************** *** 39,43 **** while ( $entry = $dir->read() ) { ! unlink (DIR.'internal/cache/static/'.$entry); } } --- 39,44 ---- while ( $entry = $dir->read() ) { ! if ( is_file(DIR.'internal/cache/static/'.$entry) ) ! unlink (DIR.'internal/cache/static/'.$entry); } } |