Skip to content

Commit

Permalink
5.7.2.3: Fixed version.
Browse files Browse the repository at this point in the history
  • Loading branch information
ozanuykun committed May 14, 2018
1 parent 8b3c7fd commit 8fa306c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Binary file modified External/Resources/Files/DefaultProject.zip
Binary file not shown.
8 changes: 4 additions & 4 deletions Internal/package-zerocore/Butcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -729,14 +729,14 @@ protected function generateView($controller, $file)
*/
protected function bodyParser($body)
{
return $this->addSlashesToAt(preg_replace_callback('/href\=\"(.*?\.html)\"/', function($link)
return $this->addSlashesToAt(preg_replace_callback('/(href|action)\=(\"|\')(.*?\.html)(\"|\')/', function($link)
{
if( ! IS::url($link[1]) )
if( ! IS::url($link[3]) )
{
return str_replace
(
$link[1],
'{|{ URL::site(\''.$this->convertValidControllerName($link[1]).'\') }|}',
$link[3],
'{|{ URL::site(\''.$this->convertValidControllerName($link[3]).'\') }|}',
$link[0]
);
}
Expand Down
2 changes: 1 addition & 1 deletion zeroneed.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
|
*/

ZN\ZN::run('FE', '5.7.2.2', 'Vecihi Hürkuş');
ZN\ZN::run('FE', '5.7.2.3', 'Vecihi Hürkuş');

0 comments on commit 8fa306c

Please sign in to comment.