PageRenderTime 60ms CodeModel.GetById 35ms RepoModel.GetById 0ms app.codeStats 0ms

/build/tasks/chmod.php

https://bitbucket.org/ldg/linkorcms
PHP | 15 lines | 13 code | 2 blank | 0 comment | 2 complexity | 71936677faa7c5125bbbccb4fe0bd86d MD5 | raw file
Possible License(s): MPL-2.0-no-copyleft-exception, LGPL-2.1
  1. <?php
  2. if(!defined('DEV_SCRIPT')){
  3. header("HTTP/1.1 404 Not Found");
  4. exit;
  5. }
  6. $r = ChmodRecursive($_GET['chmod']);
  7. foreach($r as $file=>$result){
  8. if($result){
  9. echo '<span style="color: green;">????????? ???? "'.$file.'": ??????</span><br />';
  10. }else{
  11. echo '<span style="color: red;">????????? ???? "'.$file.'": ?? ???????</span><br />';
  12. }
  13. }