de-cgi-bin/inc.py
changeset 50 724121253d34
parent 49 03ae1dbbb14a
parent 48 20355dd2e61a
child 51 0f39cb5e4b11
--- a/de-cgi-bin/inc.py	Wed Jun 03 20:41:10 2009 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-# config
-
-# location of DeGAL itself
-
-DEGAL_PATH = "/mnt/photos/public"
-
-
-
-if __name__ == '__main__' :
-    raise Exception("Don't access inc.py directly")
-
-# setup env
-
-import sys
-import os, os.path
-
-#def splitn (path, n) :
-#    for i in xrange(0, n) :
-#        path = os.path.split(path)[0]      
-#    
-#    return path
-#        
-#degal_path = splitn(os.path.join(os.getcwd(), __file__), 2)
-
-os.chdir(DEGAL_PATH)
-sys.path.append(DEGAL_PATH)
-