Rev 411 | Rev 448 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 411 | Rev 429 | ||
---|---|---|---|
Line 47... | Line 47... | ||
47 | 47 | ||
48 | OIDplus::registerAllPlugins('database', 'OIDplusDatabasePlugin', array('OIDplus','registerDatabasePlugin')); |
48 | OIDplus::registerAllPlugins('database', 'OIDplusDatabasePlugin', array('OIDplus','registerDatabasePlugin')); |
49 | $manifests = OIDplus::getAllPluginManifests('database', true); |
49 | $manifests = OIDplus::getAllPluginManifests('database', true); |
50 | foreach ($manifests as $manifest) { |
50 | foreach ($manifests as $manifest) { |
51 | foreach ($manifest->getJsFilesSetup() as $js_file) { |
51 | foreach ($manifest->getJsFilesSetup() as $js_file) { |
- | 52 | if (!file_exists($js_file)) { |
|
- | 53 | $files[] = "console.error('Script file not found: $js_file');"; |
|
- | 54 | } else { |
|
52 | $files[] = $js_file; |
55 | $files[] = $js_file; |
53 | } |
56 | } |
54 | } |
57 | } |
- | 58 | } |
|
55 | 59 | ||
56 | $files[] = __DIR__ . '/setup_base.js'; |
60 | $files[] = __DIR__ . '/setup_base.js'; |
57 | 61 | ||
58 | # --- |
62 | # --- |
59 | 63 |