import os
import sys

# cPanel (CloudLinux Python Selector / Passenger) entry point.
# Served at https://quill.nx.kg/f — PassengerAppRoot and the application
# code both live in the addon docroot (/home/wovewbge/quill.nx.kg).
APP_ROOT = "/home/wovewbge/quill.nx.kg"
INTERP = "/home/wovewbge/virtualenv/quill.nx.kg/3.13/bin/python"

if sys.executable != INTERP:
    os.execl(INTERP, INTERP, *sys.argv)

if APP_ROOT not in sys.path:
    sys.path.insert(0, APP_ROOT)

from app import app as application
