aboutsummaryrefslogtreecommitdiffstats
path: root/include/importdoc.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-05-19 22:26:37 -0700
committerredmatrix <git@macgirvin.com>2016-05-19 22:26:37 -0700
commita2cec8899ad191b47d116f4ea124be6bd5b05472 (patch)
treeb23952460e035bb37f886cb8fad5cd86c50f1291 /include/importdoc.php
parent014168a29bfbba69c2ba887af97e5fb290fa21c5 (diff)
downloadvolse-hubzilla-a2cec8899ad191b47d116f4ea124be6bd5b05472.tar.gz
volse-hubzilla-a2cec8899ad191b47d116f4ea124be6bd5b05472.tar.bz2
volse-hubzilla-a2cec8899ad191b47d116f4ea124be6bd5b05472.zip
daemon conversion continued...
Diffstat (limited to 'include/importdoc.php')
-rwxr-xr-xinclude/importdoc.php41
1 files changed, 0 insertions, 41 deletions
diff --git a/include/importdoc.php b/include/importdoc.php
deleted file mode 100755
index 7c65037d3..000000000
--- a/include/importdoc.php
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-
-
-
-require_once('include/cli_startup.php');
-
-
-function importdoc_run($argc,$argv){
-
- cli_startup();
-
- require_once('include/help.php');
-
-
- update_docs_dir('doc/*');
-
-}
-if (array_search(__file__,get_included_files())===0){
- importdoc_run($argc,$argv);
- killme();
-}
-
-function update_docs_dir($s) {
- $f = basename($s);
- $d = dirname($s);
- if($s === 'doc/html')
- return;
- $files = glob("$d/$f");
- if($files) {
- foreach($files as $fi) {
- if($fi === 'doc/html')
- continue;
- if(is_dir($fi))
- update_docs_dir("$fi/*");
- else
- store_doc_file($fi);
- }
- }
-}
-
-