Index: trunk/tools/ToolserverI18N/TsIntuition.php |
— | — | @@ -651,8 +651,13 @@ |
652 | 652 | } |
653 | 653 | |
654 | 654 | // Load it |
655 | | - include( $filePath ); |
656 | | - |
| 655 | + $included = include( $filePath ); |
| 656 | + |
| 657 | + if ( $included === false ) { |
| 658 | + $this->errTrigger( "File $filePath could not be loaded ", __METHOD__, E_NOTICE, __FILE__, __LINE__ ); |
| 659 | + return false; |
| 660 | + } |
| 661 | + |
657 | 662 | // Parse it |
658 | 663 | $compact = compact( $this->includeVariables ); |
659 | 664 | $this->parseTextdomain( $compact, $domain, $filePath ); |