Conditions | 5 |
Paths | 4 |
Total Lines | 21 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
15 | public function run() |
||
16 | { |
||
17 | if (is_cli()) |
||
18 | { |
||
19 | return; |
||
20 | } |
||
21 | |||
22 | if ( ! $this->check_route()) |
||
23 | { |
||
24 | return; |
||
25 | } |
||
26 | |||
27 | # 携帯端末からのアクセスを判定するためユーザエージェントクラスをロードします。 |
||
28 | $agent =& load_class('User_agent'); |
||
29 | |||
30 | # 携帯端末からの入力文字エンコードを変換します。 |
||
31 | if (count($_POST) > 1 && $agent->is_mobile()) |
||
32 | { |
||
33 | $_POST = $this->convert_to_utf8($_POST); |
||
34 | } |
||
35 | } |
||
36 | |||
73 |
An attempt at access to an undefined property has been detected. This may either be a typographical error or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods to allow access. See the php core documentation on Overloading.