repo.or.cz
/
av.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Initial skeleton.
[av.git]
/
av
/
includes
/
utils.inc
blob
a07812109c8b6772e2b7cae44f7d5ab16aa4cf62
1
<?php
2
function root_uri()
3
{
4
if (isset($_SERVER['REQUEST_URI'])) {
5
$dir = dirname($_SERVER['REQUEST_URI']);
6
} else {
7
$dir = dirname($_SERVER['PHP_SELF']);
8
}
9
10
return $dir;
11
}
12
?>