summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 67a74b9)
raw | patch | inline | side by side (parent: 67a74b9)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 3 Jun 2005 11:35:46 +0000 (11:35 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 3 Jun 2005 11:35:46 +0000 (11:35 +0000) |
include/functions.inc | patch | blob | history |
diff --git a/include/functions.inc b/include/functions.inc
index 42d2f2a3f72a4aece152bcc63ec0e1f4374d79e7..ea9bed49ebccfbec02fade4d62f1d2fc63f8ff87 100644 (file)
--- a/include/functions.inc
+++ b/include/functions.inc
gosa_log ("PHP error: $errstr ($errfile, line $errline)");
}
+
function dummy_error_handler()
{
}
+
+function clean_smarty_compile_dir($directory)
+{
+ $svn_revision = '$Revision$';
+
+ /* Is there a stamp containing the current revision? */
+ # check for "$config->...['CONFIG']/revision" and the
+ # contents should match the revision number
+
+ /* No, the revision has changed - and possibly the templates/translations.
+ Drop the contents of $directory now... */
+ if (true){
+ # Recursively delete contents "$config->...['CONFIG']". and create
+ # new revision file. NO folow symlinks!!!
+ ;
+ }
+
+}
+
+
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
?>