forked from florincatalin/AddScriptPluginTypesetter
- Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathInstall_Check.php
More file actions
Latest commit
20 lines (16 loc) · 490 Bytes
/
Copy pathInstall_Check.php
File metadata and controls
20 lines (16 loc) · 490 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
defined('is_running') ordie('Not an entry point...');
/*
* Install_Check() can be used to check the destination server for required features
* This can be helpful for addons that require PEAR support or extra PHP Extensions
* Install_Check() is called from step1 of the install/upgrade process
*/
functionInstall_Check(){
/*
if( check_for_feature ){
echo '<p style="color:red">Cannot install this addon, missing feature.</p>';
return false;
}
*/
returntrue;
}