From b2724f2ffd9bc6b0ed32f02a5baba1cd7a1db53a Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 13 Feb 2013 15:39:48 -0800 Subject: bring mod_common into the modern age --- util/typo.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'util/typo.php') diff --git a/util/typo.php b/util/typo.php index bb2fc67c9..c4d038ce8 100644 --- a/util/typo.php +++ b/util/typo.php @@ -12,15 +12,15 @@ $a = new App(); - echo "Directory: mod\n"; - $files = glob('mod/*.php'); + echo "Directory: include\n"; + $files = glob('include/*.php'); foreach($files as $file) { echo $file . "\n"; include_once($file); } - echo "Directory: include\n"; - $files = glob('include/*.php'); + echo "Directory: mod\n"; + $files = glob('mod/*.php'); foreach($files as $file) { echo $file . "\n"; include_once($file); -- cgit v1.2.3 From 952b2ef2ab256d46d616db70edc42ffe640a5e9d Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 10 Mar 2013 18:45:58 -0700 Subject: . --- util/typo.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util/typo.php') diff --git a/util/typo.php b/util/typo.php index c4d038ce8..fac60e8ec 100644 --- a/util/typo.php +++ b/util/typo.php @@ -38,8 +38,8 @@ } } - if(x($a->config,'php_path')) - $phpath = $a->config['php_path']; + if(x($a->config,'system') && x($a->config['system'],'php_path')) + $phpath = $a->config['system']['php_path']; else $phpath = 'php'; -- cgit v1.2.3 From 552f03122c9ec066f5728fc4629d155937fd3620 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 22 Apr 2013 20:02:21 -0700 Subject: db abstraction layer --- util/typo.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'util/typo.php') diff --git a/util/typo.php b/util/typo.php index fac60e8ec..427b97efa 100644 --- a/util/typo.php +++ b/util/typo.php @@ -19,6 +19,13 @@ include_once($file); } + echo "Directory: include/dba\n"; + $files = glob('include/dba/*.php'); + foreach($files as $file) { + echo $file . "\n"; + include_once($file); + } + echo "Directory: mod\n"; $files = glob('mod/*.php'); foreach($files as $file) { -- cgit v1.2.3 From 72e83f69bc3afe3646b423a19f11c99d03e3b66a Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 25 Apr 2013 20:01:24 -0700 Subject: photo driver abstraction --- util/typo.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'util/typo.php') diff --git a/util/typo.php b/util/typo.php index 427b97efa..6c846696d 100644 --- a/util/typo.php +++ b/util/typo.php @@ -26,6 +26,13 @@ include_once($file); } + echo "Directory: include/photo\n"; + $files = glob('include/photo/*.php'); + foreach($files as $file) { + echo $file . "\n"; + include_once($file); + } + echo "Directory: mod\n"; $files = glob('mod/*.php'); foreach($files as $file) { -- cgit v1.2.3