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:
@@ -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")
|
||||
|
Reference in New Issue
Block a user