/openshift/adei

To get this branch, use:
bzr branch http://darksoft.org/webbzr/openshift/adei

« back to all changes in this revision

Viewing changes to adei.php

  • Committer: Suren A. Chilingaryan
  • Date: 2008-06-17 23:19:26 UTC
  • Revision ID: csa@dside.dyndns.org-20080617231926-w9mpfxw6lv0r0450
Administrative interface and better handling of missing group channels

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?php
2
2
 
3
3
$cwd = getcwd();
4
 
if (preg_match("/^(.*\/)(services|system)\/?$/", $cwd, $m)) $ROOTDIR = $m[1];
 
4
if (preg_match("/^(.*\/)(services|system|admin|tmp\/admin)\/?$/", $cwd, $m)) $ROOTDIR = $m[1];
5
5
else $ROOTDIR = $cwd . "/";
6
6
 
7
7
if (isset($_GET['adei_session'])) $ADEI_SESSION = $_GET['adei_session'];