<?php
-define( 'UPDATE_VERSION' , 1183 );
+define( 'UPDATE_VERSION' , 1190 );
/**
*
return UPDATE_SUCCESS;
}
+
+function update_1188() {
+
+ if (strlen(get_config('system','directory_submit_url')) AND
+ !strlen(get_config('system','directory'))) {
+ set_config('system','directory', dirname(get_config('system','directory_submit_url')));
+ del_config('system','directory_submit_url');
+ }
+
+ return UPDATE_SUCCESS;
+}