1
0
Fork 0

chache to return (file_exists() && include );

pull/454/head
Marcin Chyłek 2012-03-15 11:36:40 +01:00
parent 7d2a287863
commit 0e0b5ac222
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<?php
function autoload($file) {
return (file_exists($file) && include $file) ? true : false;
return (file_exists($file) && include $file);
}
if (!autoload(__DIR__.'/../../../.composer/autoload.php') && !autoload(__DIR__.'/../vendor/.composer/autoload.php')) {

View File

@ -2,7 +2,7 @@
<?php
function autoload($file) {
return (file_exists($file) && include $file) ? true : false;
return (file_exists($file) && include $file);
}
if (!autoload(__DIR__.'/../../../.composer/autoload.php') && !autoload(__DIR__.'/../vendor/.composer/autoload.php')) {