@@ -8,10 +8,9 @@ |
||
8 | 8 | namespace PH7; |
9 | 9 | defined('PH7') or exit('Restricted access'); |
10 | 10 | |
11 | -use |
|
12 | -PH7\Framework\Security\CSRF\Token, |
|
13 | -PH7\Framework\Mvc\Request\Http, |
|
14 | -PH7\Framework\Session\Session; |
|
11 | +use PH7\Framework\Security\CSRF\Token; |
|
12 | +use PH7\Framework\Mvc\Request\Http; |
|
13 | +use PH7\Framework\Session\Session; |
|
15 | 14 | |
16 | 15 | class Comment |
17 | 16 | { |
@@ -11,24 +11,22 @@ |
||
11 | 11 | namespace PH7; |
12 | 12 | defined('PH7') or exit('Restricted access'); |
13 | 13 | |
14 | -use |
|
15 | -PH7\Framework\File\Import, |
|
16 | -PH7\Framework\Date\CDateTime, |
|
17 | -PH7\Framework\Config\Config, |
|
18 | -PH7\Framework\Mvc\Model\DbConfig, |
|
19 | -PH7\Framework\Ip\Ip, |
|
20 | -PH7\Framework\File\File, |
|
21 | -PH7\Framework\Util\Various, |
|
22 | -PH7\Framework\Geo\Ip\Geo, |
|
23 | -PH7\Framework\Error\CException\PH7Exception, |
|
24 | -Facebook\Facebook as FB, |
|
25 | -Facebook\FacebookResponse, |
|
26 | -Facebook\Helpers\FacebookRedirectLoginHelper, |
|
27 | -Facebook\GraphNodes\GraphUser, |
|
28 | -Facebook\GraphNodes\GraphLocation, |
|
29 | -Facebook\Exceptions\FacebookSDKException, |
|
30 | -Facebook\Exceptions\FacebookResponseException, |
|
31 | -PH7\Framework\Mvc\Router\Uri; |
|
14 | +use PH7\Framework\Date\CDateTime; |
|
15 | +use PH7\Framework\Config\Config; |
|
16 | +use PH7\Framework\Mvc\Model\DbConfig; |
|
17 | +use PH7\Framework\Ip\Ip; |
|
18 | +use PH7\Framework\File\File; |
|
19 | +use PH7\Framework\Util\Various; |
|
20 | +use PH7\Framework\Geo\Ip\Geo; |
|
21 | +use PH7\Framework\Error\CException\PH7Exception; |
|
22 | +use Facebook\Facebook as FB; |
|
23 | +use Facebook\FacebookResponse; |
|
24 | +use Facebook\Helpers\FacebookRedirectLoginHelper; |
|
25 | +use Facebook\GraphNodes\GraphUser; |
|
26 | +use Facebook\GraphNodes\GraphLocation; |
|
27 | +use Facebook\Exceptions\FacebookSDKException; |
|
28 | +use Facebook\Exceptions\FacebookResponseException; |
|
29 | +use PH7\Framework\Mvc\Router\Uri; |
|
32 | 30 | |
33 | 31 | class Facebook extends Api implements IApi |
34 | 32 | { |
@@ -7,7 +7,7 @@ |
||
7 | 7 | */ |
8 | 8 | namespace PH7; |
9 | 9 | |
10 | -use PH7\Framework\Http\Http, PH7\Framework\Mvc\Router\Uri; |
|
10 | +use PH7\Framework\Http\Http; |
|
11 | 11 | |
12 | 12 | class HttpController extends Controller |
13 | 13 | { |
@@ -7,11 +7,10 @@ |
||
7 | 7 | */ |
8 | 8 | namespace PH7; |
9 | 9 | |
10 | -use |
|
11 | -PH7\Framework\Layout\Html\Design, |
|
12 | -PH7\Framework\Cache\Cache, |
|
13 | -PH7\Framework\Mvc\Router\Uri, |
|
14 | -PH7\Framework\Url\Header; |
|
10 | +use PH7\Framework\Layout\Html\Design; |
|
11 | +use PH7\Framework\Cache\Cache; |
|
12 | +use PH7\Framework\Mvc\Router\Uri; |
|
13 | +use PH7\Framework\Url\Header; |
|
15 | 14 | |
16 | 15 | class FieldController extends Controller |
17 | 16 | { |
@@ -9,10 +9,9 @@ |
||
9 | 9 | |
10 | 10 | defined('PH7') or die('Restricted access'); |
11 | 11 | |
12 | -use |
|
13 | -PH7\Framework\Layout\Html\Design, |
|
14 | -PH7\Framework\Url\Header, |
|
15 | -PH7\Framework\Mvc\Router\Uri; |
|
12 | +use PH7\Framework\Layout\Html\Design; |
|
13 | +use PH7\Framework\Url\Header; |
|
14 | +use PH7\Framework\Mvc\Router\Uri; |
|
16 | 15 | |
17 | 16 | class Permission extends PermissionCore |
18 | 17 | { |
@@ -12,13 +12,12 @@ |
||
12 | 12 | namespace PH7; |
13 | 13 | defined('PH7') or exit('Restricted access'); |
14 | 14 | |
15 | -use |
|
16 | -PH7\Framework\Session\Session, |
|
17 | -PH7\Framework\File\Import, |
|
18 | -PH7\Framework\Parse\Emoticon, |
|
19 | -PH7\Framework\Mvc\Router\Uri, |
|
20 | -PH7\Framework\Http\Http, |
|
21 | -PH7\Framework\Mvc\Request\Http as HttpRequest; |
|
15 | +use PH7\Framework\Session\Session; |
|
16 | +use PH7\Framework\File\Import; |
|
17 | +use PH7\Framework\Parse\Emoticon; |
|
18 | +use PH7\Framework\Mvc\Router\Uri; |
|
19 | +use PH7\Framework\Http\Http; |
|
20 | +use PH7\Framework\Mvc\Request\Http as HttpRequest; |
|
22 | 21 | |
23 | 22 | class MessengerAjax extends PermissionCore |
24 | 23 | { |
@@ -7,13 +7,12 @@ |
||
7 | 7 | */ |
8 | 8 | namespace PH7; |
9 | 9 | |
10 | -use |
|
11 | -PH7\Framework\Util\Various, |
|
12 | -PH7\Framework\Mvc\Model\Engine\Util\Various as VariousModel, |
|
13 | -PH7\Framework\Mail\Mail, |
|
14 | -PH7\Framework\Layout\Html\Meta, |
|
15 | -PH7\Framework\Mvc\Router\Uri, |
|
16 | -PH7\Framework\Url\Header; |
|
10 | +use PH7\Framework\Util\Various; |
|
11 | +use PH7\Framework\Mvc\Model\Engine\Util\Various as VariousModel; |
|
12 | +use PH7\Framework\Mail\Mail; |
|
13 | +use PH7\Framework\Layout\Html\Meta; |
|
14 | +use PH7\Framework\Mvc\Router\Uri; |
|
15 | +use PH7\Framework\Url\Header; |
|
17 | 16 | |
18 | 17 | class MainController extends Controller |
19 | 18 | { |
@@ -9,10 +9,9 @@ |
||
9 | 9 | |
10 | 10 | defined('PH7') or exit('Restricted access'); |
11 | 11 | |
12 | -use |
|
13 | -PH7\Framework\Layout\Html\Design, |
|
14 | -PH7\Framework\Mvc\Router\Uri, |
|
15 | -PH7\Framework\Url\Header; |
|
12 | +use PH7\Framework\Layout\Html\Design; |
|
13 | +use PH7\Framework\Mvc\Router\Uri; |
|
14 | +use PH7\Framework\Url\Header; |
|
16 | 15 | |
17 | 16 | class Permission extends PermissionCore |
18 | 17 | { |
@@ -9,10 +9,9 @@ |
||
9 | 9 | */ |
10 | 10 | namespace PH7; |
11 | 11 | |
12 | -use |
|
13 | -PH7\Framework\Navigation\Page, |
|
14 | -PH7\Framework\Url\Header, |
|
15 | -PH7\Framework\Mvc\Router\Uri; |
|
12 | +use PH7\Framework\Navigation\Page; |
|
13 | +use PH7\Framework\Url\Header; |
|
14 | +use PH7\Framework\Mvc\Router\Uri; |
|
16 | 15 | |
17 | 16 | class AdminController extends Controller |
18 | 17 | { |