summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2010-01-19 04:48:55 +0000
committerSteve Dibb <beandog@gentoo.org>2010-01-19 04:48:55 +0000
commit33b14ac9820d4699ed70e212b0f0f6e32371c9ee (patch)
treebd5ae559ccb845082d9f80d12bcc8e5d4dff5ad9 /import.all.php
parentnew host (diff)
downloadznurt-org-backend-33b14ac9820d4699ed70e212b0f0f6e32371c9ee.tar.gz
znurt-org-backend-33b14ac9820d4699ed70e212b0f0f6e32371c9ee.tar.bz2
znurt-org-backend-33b14ac9820d4699ed70e212b0f0f6e32371c9ee.zip
more verbose, track status
git-svn-id: file:///var/svn/portage@73 3218660a-b0cf-4799-a991-8ddcc5b9e0f3
Diffstat (limited to 'import.all.php')
-rw-r--r--import.all.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/import.all.php b/import.all.php
index 03bb13d..fd4c397 100644
--- a/import.all.php
+++ b/import.all.php
@@ -48,6 +48,11 @@
foreach($arr as $file) {
if($verbose)
echo "[import] $file\n";
+
+ if(is_dir("/tmp/znurt") && is_writable("/tmp/znurt")) {
+ file_put_contents("/tmp/znurt/status", "$file\n");
+ }
+
include "import.$file.php";
}
}