[SCRIPTS] Make them work in v2 by setting PUBLICDIR
This commit is contained in:
@@ -20,7 +20,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
define('INSTALLDIR', realpath(dirname(__FILE__) . '/..'));
|
||||
define('INSTALLDIR', dirname(__DIR__));
|
||||
define('PUBLICDIR', INSTALLDIR . DIRECTORY_SEPARATOR . 'public');
|
||||
|
||||
$helptext = <<<END_OF_HELP
|
||||
gnusocialversion.php [options]
|
||||
|
||||
Reference in New Issue
Block a user