Skip to content

Commit

Permalink
QA, adjusted ignore path
Browse files Browse the repository at this point in the history
  • Loading branch information
jakoch committed Sep 3, 2012
1 parent 04726d1 commit b2a7a15
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
6 changes: 2 additions & 4 deletions .gitignore
Expand Up @@ -6,10 +6,8 @@
# git config --global core.excludesfile ~/.gitignore

# Clansuite
/Application/Configuration/clansuite.php

# Gravatar
/Application/Uploads/images/gravatars
/Clansuite/Configuration/clansuite.php
/Clansuite/Uploads/images/gravatars

# Mac OS X Finder and whatnot
.DS_Store
Expand Down
3 changes: 2 additions & 1 deletion Clansuite/Modules/Index/Controller/IndexController.php
Expand Up @@ -92,7 +92,8 @@ public function action_list()
// Applying a Layout Template
#$view = $this->getView()->setLayoutTemplate('admin/index.tpl');

echo 'Hello World!';
// direct output example
//echo 'Hello World!';

$this->display();
}
Expand Down
Expand Up @@ -142,7 +142,6 @@ public function getThemes($themes_directory)
$theme_info[$i]['preview_thumbnail'] = WWW_ROOT_THEMES . 'core/images/nopreview.jpg';
}
}
}

// sort and return
asort($theme_info);
Expand Down
4 changes: 2 additions & 2 deletions framework/Koch/Exception/Errorhandler.php
Expand Up @@ -374,12 +374,12 @@ public static function getErrorContext($file, $line, $scope)

// get ALL LINES syntax highlighted source-code of the file and explode it into an array
// the if check is needed to workaround "highlight_file() has been disabled for security reasons"
if(function_exists('highlight_file') === true) {
if (function_exists('highlight_file') === true) {
$array_content = explode('<br />', highlight_file($file, true));
} else {
$array_content = explode('<br />', $file);
}

// get the ERROR SURROUNDING LINES from ALL LINES
$array_content_sliced = array_slice($array_content, $errorcontext_starting_line-1, $scope, true);

Expand Down

0 comments on commit b2a7a15

Please sign in to comment.