You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

routes.php 627B

123456789101112131415161718192021222324
  1. <?php
  2. use App\Http\DBO\Permissions;
  3. use Luticate\Auth\Business\LuticateBusiness;
  4. use Luticate\Doc\Business\LuDocBusiness;
  5. use Luticate\Utils\LuRoute;
  6. $route = LuRoute::getInstance();
  7. $int = LuRoute::REG_INT;
  8. LuticateBusiness::setupAuth();
  9. LuticateBusiness::setupRoutes("/api/luticate");
  10. LuDocBusiness::setupRoutes("/api/luticate");
  11. $image_id = "{image_id:$int}";
  12. $route->post("/api/effects/{effect}/apply", "Effects", "apply", Permissions::UPLOAD);
  13. $route->post("/api/images/upload", "Images", "upload", Permissions::UPLOAD);
  14. $route->post("/api/images/$image_id/del", "Images", "del", Permissions::UPLOAD);
  15. //sleep(2);