change admin pointer to update.php

This commit is contained in:
friendica 2012-11-01 15:11:11 -07:00
parent ec6ed3221d
commit b400e4dfad

View File

@ -471,7 +471,7 @@ function admin_page_dbsync(&$a) {
} }
if($a->argc > 2 && intval($a->argv[2])) { if($a->argc > 2 && intval($a->argv[2])) {
require_once('update.php'); require_once('install/update.php');
$func = 'update_' . intval($a->argv[2]); $func = 'update_' . intval($a->argv[2]);
if(function_exists($func)) { if(function_exists($func)) {
$retval = $func(); $retval = $func();