element += ldelim + parts[first+1].rstrip('}') + rdelim
else:
# This takes care of elements where the filename is a path, e.g. {{ inc file.tpl }}
- element += parts[first+1].rstrip('}')
+ element += parts[first+1].rstrip('}')
element += '"'
except getopt.GetoptError:
help(sys.argv[0])
sys.exit(2)
-
+
if path == '':
path = raw_input('Path to template folder to convert: ')
files = os.listdir(path)
for a_file in files:
- if a_file == 'htconfig.tpl':
+ if a_file == 'local.ini.tpl':
php_tpl = True
else:
php_tpl = False
Install::checkFunctions($checks);
Install::checkImagick($checks);
- Install::checkHtConfig($checks);
+ Install::checkLocalIni($checks);
Install::checkSmarty3($checks);
Install::checkKeys($checks);
\r
self::checkImagick($checks);\r
\r
- self::checkHtConfig($checks);\r
+ self::checkLocalIni($checks);\r
\r
self::checkSmarty3($checks);\r
\r
*\r
* @param array $checks The list of all checks (by-ref parameter!)\r
*/\r
- public static function checkHtConfig(&$checks)\r
+ public static function checkLocalIni(&$checks)\r
{\r
$status = true;\r
$help = "";\r
RECURSIVE = YES
PROJECT_NAME = "Friendica"
PROJECT_LOGO = images/friendica-64.jpg
-EXCLUDE = .htconfig.php library/ doc/ .git/ log/ util/zotsh/easywebdav/ addon/ report/ privacy_image_cache/ photo/ proxy/ local/
-EXCLUDE_PATTERNS = *smarty3* *strings.php*.log *.out *test*
+EXCLUDE = .htconfig.php config/ library/ doc/ .git/ log/ util/zotsh/easywebdav/ addon/ report/ privacy_image_cache/ photo/ proxy/ local/
+EXCLUDE_PATTERNS = *smarty3* *strings.php*.log *.out *test*
OUTPUT_DIRECTORY = doc
GENERATE_HTML = YES
HTML_OUTPUT = html/