Show
Ignore:
Timestamp:
07/20/2008 08:34:36 PM (4 months ago)
Author:
Shadowhand
Message:

Replacing file_exists calls with is_file and is_dir, where possible.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/modules/payment/libraries/drivers/Payment/Yourpay.php

    r3163 r3168  
    5656        { 
    5757                // Check to make sure the certificate is valid 
    58                 $this->certificate = (file_exists($config['certificate'])) ? $config['certificate'] : FALSE; 
     58                $this->certificate = is_file($config['certificate']) ? $config['certificate'] : FALSE; 
    5959 
    6060                if (!$this->certificate)