Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
will this code do?
y2kbg
New
if (!array_key_exists('friendssqlcheck', $Context->Configuration)) {
$SQL = file_get_contents($Context->Configuration['EXTENSIONS_PATH'] . 'Friends/friends-mysql.sql');
$Context->Database->Execute($SQL, 'Friends', NULL, 'Could not create Friends table');
if ($Context->ErrorManager->Iif()) {
AddConfigurationSetting($Context, 'friendssqlcheck', '1');
}}
to execute an sql query(contained in an external file) successfully once but if it messes up it will try again next time this code is run?
0
This discussion has been closed.
Comments