The Applications of Critical-Point Theory to Discontinuous Fractional-Order Differential Equations