@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | return array( |
| 4 | - 'admin_path' => 'admin', |
|
| 4 | + 'admin_path' => 'admin', |
|
| 5 | 5 | ); |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | return array( |
| 4 | - 'on_page' => 10, |
|
| 5 | - 'nav_number' => 7, |
|
| 6 | - 'order' => 'DESC', |
|
| 7 | - 'sort' => 'id', |
|
| 8 | - 'path' => 'foto', |
|
| 4 | + 'on_page' => 10, |
|
| 5 | + 'nav_number' => 7, |
|
| 6 | + 'order' => 'DESC', |
|
| 7 | + 'sort' => 'id', |
|
| 8 | + 'path' => 'foto', |
|
| 9 | 9 | ); |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | return array( |
| 4 | - 'site_key' => 'site_key_value', |
|
| 5 | - 'session_expire' => '+1 month', |
|
| 4 | + 'site_key' => 'site_key_value', |
|
| 5 | + 'session_expire' => '+1 month', |
|
| 6 | 6 | ); |
@@ -2,37 +2,37 @@ |
||
| 2 | 2 | <html> |
| 3 | 3 | <head> |
| 4 | 4 | <meta charset="utf-8"> |
| 5 | - <title><?=$this->pageTitle;?></title> |
|
| 6 | - <style><?=$this->pageStyle;?></style> |
|
| 5 | + <title><?=$this->pageTitle; ?></title> |
|
| 6 | + <style><?=$this->pageStyle; ?></style> |
|
| 7 | 7 | </head> |
| 8 | 8 | <body> |
| 9 | 9 | <section class="wrapper"> |
| 10 | - <h1><?=$this->message;?></h1> |
|
| 10 | + <h1><?=$this->message; ?></h1> |
|
| 11 | 11 | <p> |
| 12 | - <span class="file"><?=$this->description['file'];?></span> |
|
| 13 | - <span class="line"><?=$this->description['line'];?></span> throws |
|
| 14 | - <span class="class"><?=$this->description['class'];?></span> |
|
| 12 | + <span class="file"><?=$this->description['file']; ?></span> |
|
| 13 | + <span class="line"><?=$this->description['line']; ?></span> throws |
|
| 14 | + <span class="class"><?=$this->description['class']; ?></span> |
|
| 15 | 15 | </p> |
| 16 | 16 | |
| 17 | 17 | <section class="trace"> |
| 18 | 18 | <h2>/* Stack trace */</h2> |
| 19 | 19 | <ol><?php foreach ($this->trace as $key => $v): ?> |
| 20 | 20 | <li title="check args"> |
| 21 | - <span class="file"><?=$v['file'];?></span> |
|
| 22 | - <span class="line"><?=$v['line'];?></span> |
|
| 23 | - <span class="class"><?=$v['class'];?></span> |
|
| 24 | - <span class="type"><?=$v['type'];?></span> |
|
| 25 | - <span class="function"><?=$v['function'];?></span> |
|
| 26 | - <pre><?=$v['args'];?></pre> |
|
| 21 | + <span class="file"><?=$v['file']; ?></span> |
|
| 22 | + <span class="line"><?=$v['line']; ?></span> |
|
| 23 | + <span class="class"><?=$v['class']; ?></span> |
|
| 24 | + <span class="type"><?=$v['type']; ?></span> |
|
| 25 | + <span class="function"><?=$v['function']; ?></span> |
|
| 26 | + <pre><?=$v['args']; ?></pre> |
|
| 27 | 27 | </li> |
| 28 | - <?php endforeach;?> |
|
| 28 | + <?php endforeach; ?> |
|
| 29 | 29 | </ol> |
| 30 | 30 | </section> |
| 31 | 31 | </section> |
| 32 | 32 | <footer class="footer"> |
| 33 | - <span><?=VER_NAME;?></span> |
|
| 34 | - <span>© <?=date('Y');?> <?=NAME;?></span> |
|
| 33 | + <span><?=VER_NAME; ?></span> |
|
| 34 | + <span>© <?=date('Y'); ?> <?=NAME; ?></span> |
|
| 35 | 35 | </footer> |
| 36 | - <script><?=$this->pageScript;?></script> |
|
| 36 | + <script><?=$this->pageScript; ?></script> |
|
| 37 | 37 | </body> |
| 38 | 38 | </html> |
| 39 | 39 | \ No newline at end of file |
@@ -64,7 +64,7 @@ |
||
| 64 | 64 | $this->data = array_merge($mergeWith, $this->data); |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | - return array_map(function ($a) { |
|
| 67 | + return array_map(function($a) { |
|
| 68 | 68 | return htmlspecialchars(trim($a)); |
| 69 | 69 | }, $this->data); |
| 70 | 70 | } |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | } |
| 43 | 43 | } |
| 44 | 44 | |
| 45 | - usort($items, function ($a, $b) { |
|
| 45 | + usort($items, function($a, $b) { |
|
| 46 | 46 | return strcmp($a->getPosition(), $b->getPosition()); |
| 47 | 47 | }); |
| 48 | 48 | |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | putenv('LC_ALL='.$lang.'.'.$codeset); |
| 33 | 33 | putenv('LANG='.$lang.'.'.$codeset); |
| 34 | 34 | putenv('LANGUAGE='.$lang.'.'.$codeset); |
| 35 | -setlocale(LC_ALL, $lang.'.'.$codeset); |
|
| 35 | +setlocale(LC_ALL, $lang.'.'.$codeset); |
|
| 36 | 36 | |
| 37 | 37 | $domain = 'rudolf'; |
| 38 | 38 | bindtextdomain($domain, APP_ROOT.'/locale'); |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | |
| 42 | 42 | file_put_contents($file, implode(':', $contentArray)); |
| 43 | 43 | |
| 44 | - setcookie('vote_'.$id, $type, time() + (3600 * 24 * 365 * 5), DIR); |
|
| 44 | + setcookie('vote_'.$id, $type, time() + (3600 * 24 * 365 * 5), DIR); |
|
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | return [ |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | 'published' => '', |
| 27 | 27 | ], $this->data); |
| 28 | 28 | |
| 29 | - $data = array_map(function ($a) { |
|
| 29 | + $data = array_map(function($a) { |
|
| 30 | 30 | return trim($a); |
| 31 | 31 | }, $data); |
| 32 | 32 | |