|
|
@ -532,10 +532,6 @@ class OC_Installer{ |
|
|
*/ |
|
|
*/ |
|
|
public static function checkCode($appname, $folder) { |
|
|
public static function checkCode($appname, $folder) { |
|
|
$blacklist=array( |
|
|
$blacklist=array( |
|
|
'exec(', |
|
|
|
|
|
'eval(', |
|
|
|
|
|
// more evil pattern will go here later
|
|
|
|
|
|
|
|
|
|
|
|
// classes replaced by the public api
|
|
|
// classes replaced by the public api
|
|
|
'OC_API::', |
|
|
'OC_API::', |
|
|
'OC_App::', |
|
|
'OC_App::', |
|
|
|