$cwd = getcwd(); chdir( DIR_SYSTEM.'PHPExcel' ); require_once( 'Classes/PHPExcel.php' ); chdir( $cwd );