| 
                                                        @@ -3,10 +3,10 @@  | 
                                                    
                                                    
                                                         | 
                                                         | 
                                                         block discarded – undo  | 
                                                    
                                                                                                                                                                                                                    
                                                            | 
                                                                                                                                    3
                                                                                                                                                                                                 | 
                                                            
                                                                                                                                    3
                                                                                                                                                                                                 | 
                                                             declare(strict_types=1);  | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                                    4
                                                                                                                                                                                                 | 
                                                            
                                                                                                                                    4
                                                                                                                                                                                                 | 
                                                               | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                                    5
                                                                                                                                                                                                 | 
                                                            
                                                                                                                                    5
                                                                                                                                                                                                 | 
                                                             $projectRoot = dirname(__DIR__);  | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                                    6
                                                                                                                                                                                                 | 
                                                            
                                                                                                                             | 
                                                            -require_once($projectRoot . '/vendor/autoload.php');  | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                             | 
                                                            
                                                                                                                                    6
                                                                                                                                                                                                 | 
                                                            +require_once($projectRoot.'/vendor/autoload.php');  | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                                    7
                                                                                                                                                                                                 | 
                                                            
                                                                                                                                    7
                                                                                                                                                                                                 | 
                                                               | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                                    8
                                                                                                                                                                                                 | 
                                                            
                                                                                                                                    8
                                                                                                                                                                                                 | 
                                                             // Symlink module into ssp vendor lib so that templates and urls can resolve correctly  | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                                    9
                                                                                                                                                                                                 | 
                                                            
                                                                                                                             | 
                                                            -$linkPath = $projectRoot . '/vendor/simplesamlphp/simplesamlphp/modules/memcookie';  | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                             | 
                                                            
                                                                                                                                    9
                                                                                                                                                                                                 | 
                                                            +$linkPath = $projectRoot.'/vendor/simplesamlphp/simplesamlphp/modules/memcookie';  | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                                    10
                                                                                                                                                                                                 | 
                                                            
                                                                                                                                    10
                                                                                                                                                                                                 | 
                                                             if (file_exists($linkPath) === false) { | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                                    11
                                                                                                                                                                                                 | 
                                                            
                                                                                                                                    11
                                                                                                                                                                                                 | 
                                                                 echo "Linking '$linkPath' to '$projectRoot'\n";  | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                                    12
                                                                                                                                                                                                 | 
                                                            
                                                                                                                                    12
                                                                                                                                                                                                 | 
                                                                 symlink($projectRoot, $linkPath);  | 
                                                        
                                                                                                                                                
                                         
                                        
                                            
                                                                                                    Please login to merge, or discard this patch.