Библиотека для cis, online, cms1

This commit is contained in:
Фёдор Подлеснов 2016-06-29 18:51:32 +03:00
commit 3c2e614d87
269 changed files with 39854 additions and 0 deletions

12
PHPTAL/CommentFilter.php Normal file
View file

@ -0,0 +1,12 @@
<?php
require_once PHPTAL_DIR.'PHPTAL/Filter.php';
class PHPTAL_CommentFilter implements PHPTAL_Filter
{
public function filter($src){
return preg_replace('/(<!--.*?-->)/s', '', $src);
}
}
?>