Permalink
Browse files

task convert52: fix for Nette\Config\Extensions\NetteExtension.php

  • Loading branch information...
1 parent 944b345 commit 4d8c10b9b9fff54f90c47e8d64d69159c6224f68 @dg dg committed Dec 23, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 tasks/convert52.php
View
@@ -35,6 +35,7 @@
$s = str_replace('$application->onStartup[] = function() use ($application) {', '{', $s); // bootstrap.php
$s = str_replace('$form::', 'Form::', $s); // Form examples
$s = str_replace('Nette\Database\Drivers\\\\', $prefixed ? 'N' : '', $s); // Nette\Database\Connection.php
+ $s = str_replace('@Nette\Http\\', $prefixed ? '@\NHttp' : '@\Http', $s); // Nette\Config\Extensions\NetteExtension.php
// remove namespaces and add prefix

0 comments on commit 4d8c10b

Please sign in to comment.