Version 1 vs 2
Version 1 vs 2
Content Changes
Content Changes
We use a standard distribution of HotGlue, with auth and aliases edited.
**Auth**
A good solution should be implemented, currently, we let it opento all.
**Custom aliases**
In common.inc.php,add to resolve_aliases function the following aliases:
```
//Zed local moves
$s = str_replace('%NORTH', ZED_URL . '/do.php/local_move/north?redirectTo=/', $s);
$s = str_replace('%EAST', ZED_URL . '/do.php/local_move/east?redirectTo=/', $s);
$s = str_replace('%SOUTH', ZED_URL . '/do.php/local_move/south?redirectTo=/', $s);
$s = str_replace('%WEST', ZED_URL . '/do.php/local_move/west?redirectTo=/', $s);
$s = str_replace('%UP', ZED_URL . '/do.php/local_move/up?redirectTo=/', $s);
$s = str_replace('%DOWN', ZED_URL . '/do.php/local_move/down?redirectTo=/', $s);
$s = preg_replace('/%MOVE (.*)/', ZED_URL . '/do.php/local_move/?redirectTo=$1?redirectTo=/', $s);
```
We use a standard distribution of HotGlue, with auth and aliases edited.
**Auth**
A good solution should be implemented, currently, we let it open to all.
**Custom aliases**
In common.inc.php,add to resolve_aliases function the following aliases:
```
//Zed local moves
$s = str_replace('%NORTH', ZED_URL . '/do.php/local_move/north?redirectTo=/', $s);
$s = str_replace('%EAST', ZED_URL . '/do.php/local_move/east?redirectTo=/', $s);
$s = str_replace('%SOUTH', ZED_URL . '/do.php/local_move/south?redirectTo=/', $s);
$s = str_replace('%WEST', ZED_URL . '/do.php/local_move/west?redirectTo=/', $s);
$s = str_replace('%UP', ZED_URL . '/do.php/local_move/up?redirectTo=/', $s);
$s = str_replace('%DOWN', ZED_URL . '/do.php/local_move/down?redirectTo=/', $s);
$s = preg_replace('/%MOVE (.*)/', ZED_URL . '/do.php/local_move/?redirectTo=$1?redirectTo=/', $s);
```
We use a standard distribution of HotGlue, with auth and aliases edited.
**Auth**
A good solution should be implemented, currently, we let it open to all.
**Custom aliases**
In common.inc.php,add to resolve_aliases function the following aliases:
```
//Zed local moves
$s = str_replace('%NORTH', ZED_URL . '/do.php/local_move/north?redirectTo=/', $s);
$s = str_replace('%EAST', ZED_URL . '/do.php/local_move/east?redirectTo=/', $s);
$s = str_replace('%SOUTH', ZED_URL . '/do.php/local_move/south?redirectTo=/', $s);
$s = str_replace('%WEST', ZED_URL . '/do.php/local_move/west?redirectTo=/', $s);
$s = str_replace('%UP', ZED_URL . '/do.php/local_move/up?redirectTo=/', $s);
$s = str_replace('%DOWN', ZED_URL . '/do.php/local_move/down?redirectTo=/', $s);
$s = preg_replace('/%MOVE (.*)/', ZED_URL . '/do.php/local_move/?redirectTo=$1?redirectTo=/', $s);
```