Skip to content
Snippets Groups Projects

changes done for project architecture i.e htdocs/photogram/htdocs

Merged V Harish Ragavendher requested to merge push into master
41 files
+ 76
47
Compare changes
  • Side-by-side
  • Inline
Files
41
+ 0
26
<?php
/*
class webAPI
{
public function __construct()
{
if(php_sapi_name() == 'cli') {
global $__site_config;
$__site_config = file_get_contents("/home/Lucifer/photogramconfig.json");
} elseif(php_sapi_name() == 'apache2handler') {
global $__site_config;
$__site_config = file_get_contents($_SERVER["DOCUMENT_ROOT"] . "/../photogramconfig.json");
}
database::getconnetion();
}
public function initiateSession()
{
// sessions::start();
}
}
*/
Loading