Skip to content

Commit

Permalink
added composer
Browse files Browse the repository at this point in the history
  • Loading branch information
sunil committed Nov 12, 2024
1 parent 0e29216 commit 203b96d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions php/app-config/app-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ static function init($psHome) {

//dont modify below this line
//app stuff
$appPHP = self::$root . "/php";
self::$appPHP = self::$root . "/php";
self::$appImages = "$psHome/images/";
self::$appConfig = "$appPHP/app-config";
self::$appPhpFragments = "$appPHP/fragments";
self::$appConfig = self::$appPHP . "/app-config";
self::$appPhpFragments = self::$appPHP . "/fragments";

//JS stuff
self::$jsHome = "$psHome/js";
Expand All @@ -42,7 +42,7 @@ static function init($psHome) {
self::$jsImages = "$psHome/images";
self::$jsWidgets = self::$jsHome . "/widgets";

//image functions
//image functio locations for javascript
self::$jsThumbNailer = "$psHome/php/images/thumbnailer.php"; //this will likely move out of the browser app into its own app
self::$jsCropper = "$psHome/php/images/cropper.php"; //this will likely move out of the app (as above)
self::$jsMosaicer = "$psHome/php/images/mosaicer.php"; //this will likely move out of the app (as above)
Expand All @@ -54,6 +54,10 @@ static function init($psHome) {
//* nothing needs to be changed below here
require_once cAppGlobals::$appConfig . "/app-secret.php";

//##########################################################
//* load composer
require cAppGlobals::$appPHP . '/vendor/autoload.php';

//##########################################################
class cAppConfig {
const FB_SCOPE = "public_profile";
Expand Down

0 comments on commit 203b96d

Please sign in to comment.