Skip to content

Commit d151d2d

Browse files
authored
Update functions.php
1 parent c3af432 commit d151d2d

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

functions.php

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,32 @@
11
<?php
2+
3+
24
namespace frdl{
35

46
function create($arg)
57
{
8+
trigger_error('frdl\create is deorecated!', \E_USER_DEPRECATED);
69
return Proto::create($arg);
710
}
811

9-
}
12+
}//ns frdl;
13+
14+
namespace Webfan\Codebase\Server {
15+
16+
function init(){
17+
18+
//patches
19+
\frdl\implementation\psr4\RemoteAutoloaderApiClient::getInstance('https://webfan.de/install/stable/?source={{class}}&salt={{salt}}', true)
20+
->withClassmap([
21+
\Webfan\Codebase\Server\BundleExportHelper::class => 'https://webfan.de/install/?source=Webfan\Codebase\Server\BundleExportHelper&salt=${salt}',
22+
\frdl\Proto::class => 'https://webfan.de/install/?source=frdl\Proto&salt=${salt}',
23+
]);
24+
25+
26+
}
27+
28+
29+
30+
31+
}//ns Webfan\Codebase\Server;
32+

0 commit comments

Comments
 (0)