1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-30 01:30:32 +02:00

CustomPages work (chapters, books) and admin-> newspost - news_rendertype (start toward multiple templates per item)

This commit is contained in:
CaMer0n
2012-10-11 02:24:43 +00:00
parent ce30681cc3
commit ebe5cd2948
5 changed files with 203 additions and 39 deletions

View File

@@ -474,8 +474,9 @@ class lancheck
foreach($lang_array as $f)
{
if(preg_match($regexp,$f['path'].$f['fname']) && is_file($f['path'].$f['fname']))
if(preg_match($regexp,$f['path'].$f['fname']))
{
$data = file($f['path'].$f['fname']);
$relpath = str_replace($comp_dir,"",$f['path']);
if(substr($data[0],0,5) != "<?php")