Ignore:
Timestamp:
May 3, 2014 11:09:03 PM (10 years ago)
Author:
anonymous
Message:

Convert tabs to spaces, and lineendings to LF in all files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/ImageThumb.inc.php

    r478 r479  
    118118    public function setParam($params)
    119119    {
    120         $app =& App::getInstance();
     120        $app =& App::getInstance();
    121121
    122122        if (isset($params) && is_array($params)) {
     
    162162    public function getParam($param)
    163163    {
    164         $app =& App::getInstance();
     164        $app =& App::getInstance();
    165165
    166166        if (array_key_exists($param, $this->_params)) {
     
    182182    public function setSpec($spec, $index=null)
    183183    {
    184         $app =& App::getInstance();
     184        $app =& App::getInstance();
    185185
    186186        // A little sanity checking.
     
    273273    public function processAll($runtime_specs=null)
    274274    {
    275         $app =& App::getInstance();
     275        $app =& App::getInstance();
    276276
    277277        // Ensure we have a source.
     
    315315    public function processFile($file_name, $runtime_specs=null)
    316316    {
    317         $app =& App::getInstance();
     317        $app =& App::getInstance();
    318318
    319319        // Source file determined by provided file_name.
     
    454454    private function _resizeWithNetpbm($source_file, $dest_file, $spec)
    455455    {
    456         $app =& App::getInstance();
     456        $app =& App::getInstance();
    457457
    458458        // Define pnmscale arguments.
     
    523523    private function _resizeWithGD($source_file, $dest_file, $spec)
    524524    {
    525         $app =& App::getInstance();
     525        $app =& App::getInstance();
    526526
    527527        // Get original file dimensions and type.
     
    664664    public function deleteThumbs($file_name, $use_glob=false)
    665665    {
    666         $app =& App::getInstance();
     666        $app =& App::getInstance();
    667667
    668668        // Ensure we have a source.
     
    702702    public function deleteOriginal($file_name)
    703703    {
    704         $app =& App::getInstance();
     704        $app =& App::getInstance();
    705705
    706706        // Ensure we have a source.
     
    735735    public function exists($file_name)
    736736    {
    737         $app =& App::getInstance();
     737        $app =& App::getInstance();
    738738
    739739        // Ensure we have a source.
     
    768768    private function _createDestDirs($filename=null)
    769769    {
    770         $app =& App::getInstance();
     770        $app =& App::getInstance();
    771771
    772772        // Keep track of directories we've already created.
     
    826826    private function _raiseMsg($message, $type, $file, $line)
    827827    {
    828         $app =& App::getInstance();
     828        $app =& App::getInstance();
    829829
    830830        if ($this->getParam('display_messages') === true || (is_int($this->getParam('display_messages')) && $this->getParam('display_messages') & $type > 0)) {
Note: See TracChangeset for help on using the changeset viewer.