File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 30
30
use League \Flysystem \Filesystem ;
31
31
use League \Flysystem \Local \LocalFilesystemAdapter ;
32
32
33
- use Exception ;
34
33
35
34
//Error message
36
35
$ message = basename (__DIR__ ) .': ' ;
48
47
$ new_path = 'jefferson49 ' ;
49
48
50
49
try {
51
- if ($ file_system ->fileExists ($ old_path . '/webtrees-common/autoload_webtrees_common .php ' )) {
50
+ if ($ file_system ->fileExists ($ old_path . '/webtrees-common/autoload .php ' )) {
52
51
$ file_system ->move ($ old_path , $ new_path );
53
52
}
54
53
}
55
- catch (Exception $ e ) {
54
+ catch (\ Exception $ e ) {
56
55
FlashMessages::addMessage ($ message );
57
56
return false ;
58
57
}
59
58
60
59
//Check accesibility of common library
61
- if (!$ file_system ->fileExists ($ new_path . '/webtrees-common/autoload_webtrees_common .php ' )) {
60
+ if (!$ file_system ->fileExists ($ new_path . '/webtrees-common/autoload .php ' )) {
62
61
FlashMessages::addMessage ($ message );
63
62
return false ;
64
63
}
You can’t perform that action at this time.
0 commit comments